Skip to content

Commit

Permalink
Fixed publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Voinea-Radu committed Sep 7, 2024
1 parent 4973936 commit a26e7ed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -52,14 +52,14 @@ tasks {

publishing {
publications {
create<MavenPublication>("maven")
}
create<MavenPublication>("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
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
version = "1.0.0"
version = "1.0.-1"
group = "com.voinearadu"

[plugins]
Expand Down

0 comments on commit a26e7ed

Please sign in to comment.