2019-09-05 16:22:09 +02:00
|
|
|
dependencies {
|
2021-01-03 11:27:49 +01:00
|
|
|
compileOnly "org.apache.commons:commons-text:$commonsTextVersion"
|
2021-06-12 07:24:24 +02:00
|
|
|
testImplementation "org.apache.commons:commons-text:$commonsTextVersion"
|
2020-02-09 14:22:48 +01:00
|
|
|
compileOnly "com.google.code.gson:gson:$gsonVersion"
|
2019-09-05 16:22:09 +02:00
|
|
|
}
|
|
|
|
|
2022-06-18 10:31:53 +02:00
|
|
|
compileJava {
|
|
|
|
options.release = 8
|
|
|
|
}
|
|
|
|
|
2023-08-20 10:56:13 +02:00
|
|
|
ext.apiVersion = '5.6-R0.1'
|
2019-03-20 12:37:56 +01:00
|
|
|
|
2021-03-04 08:41:03 +01:00
|
|
|
publishing {
|
|
|
|
repositories {
|
|
|
|
maven {
|
2021-03-05 13:27:30 +01:00
|
|
|
name = "plan-repo"
|
|
|
|
url = uri("https://repo.playeranalytics.net/releases")
|
2021-03-04 08:41:03 +01:00
|
|
|
credentials {
|
2021-03-05 13:27:30 +01:00
|
|
|
username = "user"
|
|
|
|
password = System.getenv("REPOSILITE_TOKEN")
|
2021-03-04 08:41:03 +01:00
|
|
|
}
|
2019-03-20 12:37:56 +01:00
|
|
|
}
|
|
|
|
}
|
2019-02-28 16:50:52 +01:00
|
|
|
publications {
|
2021-03-05 13:27:30 +01:00
|
|
|
apiArtifact(MavenPublication) {
|
2021-03-04 08:41:03 +01:00
|
|
|
from components.java
|
|
|
|
groupId 'com.djrapitops'
|
|
|
|
artifactId 'plan-api'
|
|
|
|
version "$apiVersion"
|
2019-02-28 16:50:52 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|