Skip to content

Commit

Permalink
Merge pull request #16 from torusresearch/fix-maven-jitpack
Browse files Browse the repository at this point in the history
Fix deprecated Maven plugin being used by Jitpack
  • Loading branch information
chaitanyapotti authored Dec 1, 2021
2 parents b64c7b3 + e927b7f commit 7ccf9f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
jdk:
- openjdk11
- openjdk11
install:
- ./gradlew :sdk:build :sdk:publishToMavenLocal
11 changes: 11 additions & 0 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -45,4 +46,14 @@ dependencies {
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}

project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}

0 comments on commit 7ccf9f9

Please sign in to comment.