Skip to content

Commit

Permalink
Updated configuration for publish maven artifact locally
Browse files Browse the repository at this point in the history
  • Loading branch information
YauhenDaresay committed Apr 30, 2024
1 parent 06de353 commit 391dee4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,26 @@ plugins {
}

group = "com.github.kiolk.detektrules"
version = "1.0-SNAPSHOT"
version = "1.0.2"

repositories {
mavenCentral()
mavenLocal()
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "com.github.kiolk.detektrules"
artifactId = "KiolkDetektRules"
version = "1.0.2"

from(components["java"])
}
}
repositories {
mavenLocal()
}
}

dependencies {
Expand Down

0 comments on commit 391dee4

Please sign in to comment.