mcexts/bukkit173/build.gradle

38 lines
754 B
Groovy

apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
implementation files('craftbukkit-0.0.1-SNAPSHOT.jar')
}
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 8
it.options.compilerArgs += ['-Xlint:deprecation', '-Xlint:unchecked']
}
java {
withSourcesJar()
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
}
sourceSets {
main {
java {
srcDirs = [
'../src/shared',
'../src/rpc-simple',
'../src/bukkitb173',
]
include '**/*.java'
}
resources {
srcDirs = ['../src/bukkitb173']
include 'plugin.yml'
}
}
}