File tree Expand file tree Collapse file tree 4 files changed +23
-4
lines changed
Expand file tree Collapse file tree 4 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ android {
2828 kotlinOptions {
2929 jvmTarget = ' 1.8'
3030 }
31+
32+
3133}
3234
3335dependencies {
@@ -38,4 +40,4 @@ dependencies {
3840 testImplementation ' junit:junit:4.13.2'
3941 androidTestImplementation ' androidx.test.ext:junit:1.1.5'
4042 androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
41- }
43+ }
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.application'
33 id ' org.jetbrains.kotlin.android'
4+ id ' maven-publish'
45}
56
67android {
@@ -11,8 +12,8 @@ android {
1112 applicationId " dev.jahidhasanco.recyclerviewswipeextdemo"
1213 minSdk 24
1314 targetSdk 33
14- versionCode 2
15- versionName " 1.0.1 "
15+ versionCode 3
16+ versionName " 1.0.2 "
1617
1718 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1819 }
@@ -47,4 +48,17 @@ dependencies {
4748 testImplementation ' junit:junit:4.13.2'
4849 androidTestImplementation ' androidx.test.ext:junit:1.1.5'
4950 androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
51+ }
52+
53+
54+ afterEvaluate {
55+ publishing {
56+ publications {
57+ release(MavenPublication ) {
58+ groupId = ' dev.jahidhasanco.recyclerviewswipeext'
59+ artifactId = ' RecyclerViewSwipeExt' // your-repository
60+ version = ' 1.0.2' // As same as the Tag
61+ }
62+ }
63+ }
5064}
Original file line number Diff line number Diff line change @@ -20,4 +20,5 @@ kotlin.code.style=official
2020# Enables namespacing of each library's R class so that its R class includes only the
2121# resources declared in the library itself and none from the library's dependencies,
2222# thereby reducing the size of the R class for that library
23- android.nonTransitiveRClass =true
23+ android.nonTransitiveRClass =true
24+ android.disableAutomaticComponentCreation =true
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk11
You can’t perform that action at this time.
0 commit comments