Skip to content

Commit

Permalink
[improvement] publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
santimattius committed Apr 24, 2024
1 parent b0c706d commit 53e9d32
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

# Lib
group_id=io.github.santimattius
artifact_id=deeplink-watcher
lib_version=0.0.1
group_id=com.github.santimattius
artifact_id=android-deeplink-watcher
lib_version=1.0.0
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pluginManagement {
google()
mavenCentral()
gradlePluginPortal()
maven { url "https://jitpack.io" }
}
}
dependencyResolutionManagement {
Expand Down
16 changes: 8 additions & 8 deletions watcher/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ android {
}
}

publishing {
publications {
register<MavenPublication>("release") {
groupId = extraString("group_id")
artifactId = extraString("artifact_id")
version = extraString("lib_version")

afterEvaluate {
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
register<MavenPublication>("release") {
from(components["release"])
groupId = extraString("group_id")
artifactId = extraString("artifact_id")
version = extraString("lib_version")
}
}
}
}


dependencies {

implementation(kotlin("reflect"))
Expand Down

0 comments on commit 53e9d32

Please sign in to comment.