mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-25 12:25:18 +01:00
32 lines
902 B
Groovy
32 lines
902 B
Groovy
group 'API'
|
|
|
|
dependencies {
|
|
compileOnly "org.spigotmc:v1_8_R1:latest"
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = 'com.bgsoftware'
|
|
artifactId = 'WildLoadersAPI'
|
|
version = parent.version
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
String mavenUsername = System.getenv('mavenUsername') == null ? project.mavenUsername : System.getenv('mavenUsername');
|
|
String mavenPassword = System.getenv('mavenPassword') == null ? project.mavenUsername : System.getenv('mavenPassword');
|
|
|
|
if (mavenUsername != null && mavenPassword != null) {
|
|
maven {
|
|
url 'https://repo.bg-software.com/repository/api/'
|
|
credentials {
|
|
username mavenUsername
|
|
password mavenPassword
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |