mcexts/bukkit173/build.gradle

39 lines
754 B
Groovy
Raw Permalink Normal View History

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()
2024-02-23 01:32:23 +00:00
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
}
sourceSets {
main {
java {
srcDirs = [
'../src/shared',
'../src/rpc-simple',
'../src/bukkitb173',
]
2024-02-23 01:32:23 +00:00
include '**/*.java'
}
resources {
srcDirs = ['../src/bukkitb173']
include 'plugin.yml'
}
}
}