File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ This library uses **Material Components 1.14+** for the `LoadingIndicator` compo
7272
7373``` gradle
7474dependencies {
75- implementation 'com.google.android.material:material:1.14.0'
75+ implementation 'com.google.android.material:material:1.14.0-alpha09 '
7676 implementation 'androidx.core:core:1.16.0'
7777}
7878```
Original file line number Diff line number Diff line change 55jdk :
66 - openjdk17
77
8- # Build commands (optional, JitPack auto-detects Gradle projects)
9- # The library module ':refresh' will be built automatically
10-
11- # Install the library module to make it available as a dependency
8+ # Build the library module
129install :
13- - ./gradlew :refresh:assemble :refresh:publishToMavenLocal
10+ - ./gradlew :refresh:assembleRelease :refresh:publishToMavenLocal
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.library'
3+ id ' maven-publish'
34}
45
56android {
@@ -30,9 +31,29 @@ android {
3031 sourceCompatibility JavaVersion . VERSION_1_8
3132 targetCompatibility JavaVersion . VERSION_1_8
3233 }
34+
35+ publishing {
36+ singleVariant(' release' ) {
37+ withSourcesJar()
38+ withJavadocJar()
39+ }
40+ }
3341}
3442
3543dependencies {
3644 implementation ' androidx.core:core:1.16.0'
3745 implementation ' com.google.android.material:material:1.14.0-alpha09'
3846}
47+
48+ afterEvaluate {
49+ publishing {
50+ publications {
51+ release(MavenPublication ) {
52+ groupId = ' com.github.Netsnake-TN'
53+ artifactId = ' ExpressivepullToRefresh'
54+ version = ' 1.0.0'
55+ from components. release
56+ }
57+ }
58+ }
59+ }
You can’t perform that action at this time.
0 commit comments