forked from public-mirrors/HuskSync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
581 B
Groovy
28 lines
581 B
Groovy
3 years ago
|
defaultTasks ':bukkit:createFinalJar'
|
||
|
|
||
|
subprojects {
|
||
|
apply plugin: 'java-library'
|
||
|
apply plugin: 'maven-publish'
|
||
|
|
||
|
group = 'me.William278'
|
||
|
project.version = '0.1'
|
||
|
project.properties.put('description', 'Synchronise data cross-server')
|
||
|
|
||
|
sourceCompatibility = 16
|
||
|
targetCompatibility = 16
|
||
|
|
||
|
tasks.withType(JavaCompile) {
|
||
|
options.encoding = 'UTF-8'
|
||
|
}
|
||
|
tasks.withType(Javadoc) {
|
||
|
options.encoding = 'UTF-8'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenLocal()
|
||
|
}
|
||
|
|
||
|
tasks.withType(Copy).all {
|
||
|
duplicatesStrategy 'include'
|
||
|
}
|
||
|
}
|