Skip to content

Commit 82a3b30

Browse files
authored
Merge pull request #3 from Aleixo-Dev/feat/setup-build-artifact
feat: setup build artifact
2 parents 4d4e5ab + 4b7dda8 commit 82a3b30

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

progress-view/build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id("com.android.library")
33
id("org.jetbrains.kotlin.android")
4+
id("maven-publish")
45
}
56

67
android {
@@ -36,6 +37,18 @@ android {
3637
}
3738
}
3839

40+
afterEvaluate {
41+
publishing {
42+
publications {
43+
create<MavenPublication>("release") {
44+
from(components["release"])
45+
groupId = "br.com.nicolas"
46+
artifactId = "progress-view"
47+
}
48+
}
49+
}
50+
}
51+
3952
dependencies {
4053

4154
implementation("androidx.core:core-ktx:1.9.0")

0 commit comments

Comments
 (0)