2021-01-01 18:40:42 +01:00
|
|
|
group 'API'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly "org.spigotmc:v1_8_R1:latest"
|
2021-12-24 23:10:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
maven(MavenPublication) {
|
|
|
|
groupId = 'com.bgsoftware'
|
|
|
|
artifactId = 'WildLoadersAPI'
|
2021-12-25 23:17:26 +01:00
|
|
|
version = parent.version
|
2021-12-24 23:10:55 +01:00
|
|
|
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2022-12-10 15:31:43 +01:00
|
|
|
String mavenUsername = System.getenv('mavenUsername');
|
|
|
|
String mavenPassword = System.getenv('mavenPassword');
|
2021-12-24 23:10:55 +01:00
|
|
|
|
|
|
|
if (mavenUsername != null && mavenPassword != null) {
|
|
|
|
maven {
|
|
|
|
url 'https://repo.bg-software.com/repository/api/'
|
|
|
|
credentials {
|
|
|
|
username mavenUsername
|
|
|
|
password mavenPassword
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-01 18:40:42 +01:00
|
|
|
}
|