Fix project not being published to good repo
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
This commit is contained in:
parent
378bd939a4
commit
5d89e92abd
@ -3,9 +3,6 @@ plugins {
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group "${project.maven_group}"
|
||||
version "${project.maven_version}"
|
||||
|
||||
dependencies {
|
||||
implementation 'org.postgresql:postgresql:42.5.0'
|
||||
testImplementation 'com.google.code.gson:gson:2.10'
|
||||
|
@ -3,9 +3,6 @@ plugins {
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group "${project.maven_group}"
|
||||
version "${project.maven_version}"
|
||||
|
||||
dependencies {
|
||||
testImplementation "org.junit.jupiter:junit-jupiter-api:${project.junit_version}"
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${project.junit_version}"
|
||||
|
@ -1,3 +1,8 @@
|
||||
allprojects {
|
||||
group = project.maven_group
|
||||
version = project.maven_version
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven-publish'
|
||||
@ -13,7 +18,7 @@ subprojects {
|
||||
repositories {
|
||||
maven {
|
||||
name 'altarik'
|
||||
url 'https://repo.altarik.fr/'.concat(version.endsWith('SNAPSHOT') ? 'snapshots/' : 'releases/')
|
||||
url 'https://repo.altarik.fr/'.concat(project.version.endsWith('SNAPSHOT') ? 'snapshots/' : 'releases/')
|
||||
credentials {
|
||||
username = project.repo_username
|
||||
password = project.repo_password
|
||||
|
Loading…
Reference in New Issue
Block a user