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.
ConfigLib/build.gradle

50 lines
1.6 KiB
Groovy

allprojects {
group 'de.exlll'
version '1.0.0-SNAPSHOT'
}
8 years ago
subprojects {
apply plugin: 'java'
repositories { mavenCentral() }
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
testCompile group: 'com.google.jimfs', name: 'jimfs', version: '1.1'
}
}
buildscript {
if (project.hasProperty("local_script")) {
apply from: file(local_script + "/buildscript.local.gradle"), to: buildscript
}
}
if (project.hasProperty("local_script")) {
apply from: file(local_script + "/build.local.gradle")
}
8 years ago
8 years ago
project(':configlib-core') {
8 years ago
dependencies { compile group: 'org.yaml', name: 'snakeyaml', version: '1.17' }
jar { baseName = 'ConfigLib-Core' }
8 years ago
}
8 years ago
project(':configlib-bukkit') {
8 years ago
repositories { maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' } }
8 years ago
dependencies {
8 years ago
compile project(':configlib-core')
8 years ago
compile group: 'org.bukkit', name: 'bukkit', version: '1.11.2-R0.1-SNAPSHOT'
}
jar {
8 years ago
baseName = 'ConfigLib-Bukkit'
from { project(':configlib-core').sourceSets.main.output }
8 years ago
}
}
8 years ago
project(':configlib-bungee') {
8 years ago
repositories { maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } }
8 years ago
dependencies {
8 years ago
compile project(':configlib-core')
8 years ago
compile group: 'net.md-5', name: 'bungeecord-api', version: '1.10-SNAPSHOT'
}
jar {
8 years ago
baseName = 'ConfigLib-Bungee'
from { project(':configlib-core').sourceSets.main.output }
8 years ago
}
}