File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.library'
33 id ' kotlin-android'
4+ id ' maven-publish'
45}
56
7+ group = ' com.github.jitpack'
8+ version = ' 1.0'
9+
610android {
711 compileSdk 31
812
@@ -32,7 +36,6 @@ android {
3236}
3337
3438dependencies {
35-
3639 implementation ' androidx.core:core-ktx:1.7.0'
3740 implementation ' androidx.appcompat:appcompat:1.4.1'
3841 implementation ' com.google.android.material:material:1.5.0'
@@ -43,4 +46,18 @@ dependencies {
4346
4447 androidTestImplementation ' androidx.test.ext:junit:1.1.3'
4548 androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
49+ }
50+
51+ afterEvaluate {
52+ publishing {
53+ publications {
54+ // Creates a Maven publication called "release".
55+ release(MavenPublication ) {
56+ from components. release
57+ groupId = ' com.github.jitpack'
58+ artifactId = ' connection'
59+ version = ' 1.0'
60+ }
61+ }
62+ }
4663}
You can’t perform that action at this time.
0 commit comments