diff --git a/Database/build.gradle b/Database/build.gradle index ee22d47..03d3323 100644 --- a/Database/build.gradle +++ b/Database/build.gradle @@ -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' diff --git a/Tasks/build.gradle b/Tasks/build.gradle index e8595b4..a94536e 100644 --- a/Tasks/build.gradle +++ b/Tasks/build.gradle @@ -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}" diff --git a/build.gradle b/build.gradle index c30bdbd..0eee5ab 100644 --- a/build.gradle +++ b/build.gradle @@ -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