Skip to content

Commit f5479d5

Browse files
committed
ss
1 parent 74a755f commit f5479d5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

library/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'org.jetbrains.kotlin.android'
3+
apply plugin: 'maven-publish'
24

35
android {
46
compileSdkVersion buildConfig.compileSdk
@@ -23,3 +25,16 @@ android {
2325
dependencies {
2426
implementation deps.androidx.annotations
2527
}
28+
29+
afterEvaluate {
30+
publishing {
31+
publications {
32+
release(MavenPublication) {
33+
from components.release
34+
groupId = 'com.github.juude'
35+
artifactId = 'AndroidDeviceNames'
36+
version = '1.0.0' // This will be replaced by the GitHub release tag
37+
}
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)