We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a755f commit f5479d5Copy full SHA for f5479d5
library/build.gradle
@@ -1,4 +1,6 @@
1
apply plugin: 'com.android.library'
2
+apply plugin: 'org.jetbrains.kotlin.android'
3
+apply plugin: 'maven-publish'
4
5
android {
6
compileSdkVersion buildConfig.compileSdk
@@ -23,3 +25,16 @@ android {
23
25
dependencies {
24
26
implementation deps.androidx.annotations
27
}
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