From a26e7edbb1c6aef9d878f6a00b6c398e81b0cb55 Mon Sep 17 00:00:00 2001 From: Voinea Radu Date: Sat, 7 Sep 2024 03:12:25 +0300 Subject: [PATCH] Fixed publishing --- build.gradle.kts | 30 +++++++++++++++--------------- gradle/libs.versions.toml | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d3751ff..cd840dd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,15 +27,15 @@ dependencies { testImplementation(libs.jedis) // Annotations - compileOnly("org.projectlombok:lombok:1.18.34") - annotationProcessor("org.projectlombok:lombok:1.18.34") - testCompileOnly("org.projectlombok:lombok:1.18.34") - testAnnotationProcessor("org.projectlombok:lombok:1.18.34") + compileOnly(libs.lombok) + annotationProcessor(libs.lombok) + testCompileOnly(libs.lombok) + testAnnotationProcessor(libs.lombok) - compileOnly("org.jetbrains:annotations:24.1.0") - annotationProcessor("org.jetbrains:annotations:24.1.0") - testCompileOnly("org.jetbrains:annotations:24.1.0") - testAnnotationProcessor("org.jetbrains:annotations:24.1.0") + compileOnly(libs.jetbrains.annotations) + annotationProcessor(libs.jetbrains.annotations) + testCompileOnly(libs.jetbrains.annotations) + testAnnotationProcessor(libs.jetbrains.annotations) // Tests testImplementation(platform(libs.junit.bom)) @@ -52,14 +52,14 @@ tasks { publishing { publications { - create("maven") - } + create("maven"); - repositories { - maven(url = (project.findProperty("voinearadu.url") ?: "") as String) { - credentials(PasswordCredentials::class) { - username = (project.findProperty("voinearadu.auth.username") ?: "") as String - password = (project.findProperty("voinearadu.auth.password") ?: "") as String + repositories { + maven(url = (project.findProperty("voinearadu.url") ?: "") as String) { + credentials(PasswordCredentials::class) { + username = (project.findProperty("voinearadu.auth.username") ?: "") as String + password = (project.findProperty("voinearadu.auth.password") ?: "") as String + } } } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 16b48f0..bcf2d2e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -version = "1.0.0" +version = "1.0.-1" group = "com.voinearadu" [plugins]