2020-03-04 20:56:05 +00:00
|
|
|
apply plugin: "maven-publish"
|
|
|
|
|
2020-03-20 09:36:13 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2020-01-16 10:06:28 +00:00
|
|
|
dependencies {
|
|
|
|
compile project(":Noise2D")
|
2020-03-20 09:36:13 +00:00
|
|
|
compile "it.unimi.dsi:fastutil:8.2.1"
|
2020-03-04 20:56:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
artifact jar
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (System.getenv("MAVEN_USER") != null && System.getenv("MAVEN_PASS") != null) {
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
credentials {
|
|
|
|
username System.getenv("MAVEN_USER")
|
|
|
|
password System.getenv("MAVEN_PASS")
|
|
|
|
}
|
|
|
|
name = "nexus"
|
|
|
|
url = "https://io.terraforged.com/repository/maven/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:06:28 +00:00
|
|
|
}
|