2022-11-07 00:09:52 +01:00
|
|
|
subprojects {
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name 'altarik'
|
|
|
|
url 'https://repo.altarik.fr/'.concat(version.endsWith('SNAPSHOT') ? 'snapshots/' : 'releases/')
|
|
|
|
credentials {
|
|
|
|
username = project.repo_username
|
|
|
|
password = project.repo_password
|
|
|
|
}
|
|
|
|
}
|
2022-09-19 23:52:14 +02:00
|
|
|
}
|
|
|
|
}
|
2022-11-07 00:09:52 +01:00
|
|
|
|
2022-09-19 23:52:14 +02:00
|
|
|
repositories {
|
|
|
|
maven {
|
2022-11-07 00:09:52 +01:00
|
|
|
name 'altarik-snapshots'
|
|
|
|
url 'https://repo.altarik.fr/snapshots/'
|
2022-09-19 23:52:14 +02:00
|
|
|
}
|
2022-11-07 00:09:52 +01:00
|
|
|
maven {
|
|
|
|
name 'altarik-releases'
|
|
|
|
url 'https://repo.altarik.fr/releases/'
|
|
|
|
}
|
|
|
|
|
|
|
|
mavenCentral()
|
2022-09-19 23:52:14 +02:00
|
|
|
}
|
|
|
|
}
|