TerraForged/TerraForgedCore/build.gradle
2020-03-04 20:56:05 +00:00

26 lines
615 B
Groovy

apply plugin: "maven-publish"
dependencies {
compile project(":Noise2D")
}
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/"
}
}
}
}