Skip to content

Commit 4f85ffc

Browse files
committed
🚑 Fixed the maven plugn problem in jitpack
1 parent 10071b8 commit 4f85ffc

3 files changed

Lines changed: 25 additions & 1 deletion

File tree

jitpack.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
jdk:
2-
- openjdk11
2+
- openjdk11
3+
install:
4+
- ./gradlew build :lib:publishToMavenLocal

progress-button-compose/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id 'maven-publish'
5+
}
6+
7+
project.afterEvaluate {
8+
publishing {
9+
publications {
10+
release(MavenPublication) {
11+
from components.release
12+
}
13+
}
14+
}
415
}
516

617
android {

progress-button/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id 'maven-publish'
5+
}
6+
7+
project.afterEvaluate {
8+
publishing {
9+
publications {
10+
release(MavenPublication) {
11+
from components.release
12+
}
13+
}
14+
}
415
}
516

617
android {

0 commit comments

Comments
 (0)