|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'com.github.johnrengelman.shadow' version '7.1.0' apply false
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
group 'me.William278'
|
|
|
|
version '1.3.2'
|
|
|
|
|
|
|
|
compileJava { options.encoding = 'UTF-8' }
|
|
|
|
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
|
|
|
|
javadoc { options.encoding = 'UTF-8' }
|
|
|
|
}
|
|
|
|
|
|
|
|
logger.lifecycle('Building HuskSync v' + version.toString())
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
|
|
|
compileJava {
|
|
|
|
options.release = 16
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
|
|
|
maven { url 'https://repo.velocitypowered.com/snapshots/' }
|
|
|
|
maven { url 'https://repo.minebench.de/' }
|
|
|
|
maven { url 'https://repo.codemc.org/repository/maven-public' }
|
|
|
|
maven { url 'https://repo.alessiodp.com/releases/' }
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
}
|
|
|
|
}
|