Skip to content

Commit

Permalink
prepare publish
Browse files Browse the repository at this point in the history
  • Loading branch information
shw0471 committed Mar 24, 2022
1 parent 22e7e7e commit 0ce015c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cocket/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -40,4 +41,23 @@ dependencies {
}
implementation 'com.google.code.gson:gson:2.9.0'
implementation "org.jetbrains.kotlin:kotlin-reflect:1.6.10"
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release

groupId = 'com.semicolon.cocket'
version = '1.0'
}
debug(MavenPublication) {
from components.debug

groupId = 'com.semicolon.cocket'
version = '1.0'
}
}
}
}

0 comments on commit 0ce015c

Please sign in to comment.