diff --git a/cocket/build.gradle b/cocket/build.gradle index 90e78a0..1e4ae6a 100644 --- a/cocket/build.gradle +++ b/cocket/build.gradle @@ -1,6 +1,7 @@ plugins { id 'com.android.library' id 'kotlin-android' + id 'maven-publish' } android { @@ -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' + } + } + } } \ No newline at end of file