Skip to content

Commit ceb86d1

Browse files
Merge pull request #11 from torusresearch/publish_fix
publish process fix
2 parents 5ced838 + 9f1cb1f commit ceb86d1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

core/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id 'maven-publish'
45
}
56

67
android {
@@ -50,4 +51,14 @@ dependencies {
5051
testImplementation 'junit:junit:4.+'
5152
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
5253
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
54+
}
55+
56+
project.afterEvaluate {
57+
publishing {
58+
publications {
59+
release(MavenPublication) {
60+
from components.release
61+
}
62+
}
63+
}
5364
}

jitpack.yml

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

0 commit comments

Comments
 (0)