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'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
group "${project.maven_group}"
|
|
||||||
version "${project.maven_version}"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.postgresql:postgresql:42.5.0'
|
implementation 'org.postgresql:postgresql:42.5.0'
|
||||||
testImplementation 'com.google.code.gson:gson:2.10'
|
testImplementation 'com.google.code.gson:gson:2.10'
|
||||||
|
@ -3,9 +3,6 @@ plugins {
|
|||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
group "${project.maven_group}"
|
|
||||||
version "${project.maven_version}"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation "org.junit.jupiter:junit-jupiter-api:${project.junit_version}"
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${project.junit_version}"
|
||||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${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 {
|
subprojects {
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
@ -13,7 +18,7 @@ subprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name 'altarik'
|
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 {
|
credentials {
|
||||||
username = project.repo_username
|
username = project.repo_username
|
||||||
password = project.repo_password
|
password = project.repo_password
|
||||||
|
Loading…
Reference in New Issue
Block a user