2021-07-28 00:28:23 +02:00
|
|
|
plugins {
|
|
|
|
id "com.github.johnrengelman.shadow" version "2.0.4"
|
|
|
|
id 'java'
|
|
|
|
id 'maven-publish'
|
|
|
|
}
|
|
|
|
|
2022-02-07 17:04:12 +01:00
|
|
|
apply plugin: 'eclipse'
|
|
|
|
|
|
|
|
eclipse {
|
|
|
|
project {
|
|
|
|
name = "Dynmap(Forge-Legacy)"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-28 00:28:23 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/releases" }
|
|
|
|
maven { url "https://repo.mikeprimm.com" }
|
|
|
|
maven { url "https://repo.maven.apache.org/maven2" }
|
|
|
|
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
|
|
|
|
maven { url "https://repo.codemc.org/repository/maven-public/" }
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
group = 'us.dynmap'
|
2023-07-09 03:09:57 +02:00
|
|
|
version = '3.7-SNAPSHOT'
|
2021-07-28 00:28:23 +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-publish'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
clean {
|
|
|
|
delete "target"
|
|
|
|
}
|
|
|
|
|
|
|
|
task setupCIWorkspace {
|
|
|
|
}
|