2018-08-12 06:11:20 +02:00
|
|
|
plugins {
|
|
|
|
id "com.github.johnrengelman.shadow" version "2.0.4"
|
|
|
|
id 'java'
|
|
|
|
id 'maven'
|
|
|
|
id 'maven-publish'
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
2018-08-16 09:09:04 +02:00
|
|
|
mavenCentral()
|
2018-08-12 06:11:20 +02:00
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/releases" }
|
|
|
|
maven { url "http://repo.mikeprimm.com" }
|
|
|
|
maven { url "http://repo.maven.apache.org/maven2" }
|
|
|
|
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
|
|
|
|
maven { url "http://repo.bstats.org/content/repositories/releases/" }
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
group = 'us.dynmap'
|
2018-08-27 07:26:44 +02:00
|
|
|
version = '3.0-SNAPSHOT'
|
2018-08-12 06:11:20 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Globals {
|
|
|
|
String buildNumber = System.getenv().BUILD_NUMBER ?: "Dev"
|
|
|
|
}
|
|
|
|
ext {
|
|
|
|
globals = new Globals()
|
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply plugin: "com.github.johnrengelman.shadow"
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'maven'
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
}
|
|
|
|
}
|
2018-08-13 04:55:40 +02:00
|
|
|
|
|
|
|
clean {
|
|
|
|
delete "target"
|
|
|
|
}
|
|
|
|
|
|
|
|
task setupCIWorkspace {
|
2018-08-16 09:09:04 +02:00
|
|
|
}
|