Skip to content

Commit

Permalink
Try to fix jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
starshipcoder committed Jun 17, 2021
1 parent dd71efd commit 86eb49d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ buildscript {
}
}

plugins {
id 'maven-publish'
}

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

allprojects {
repositories {
mavenCentral()
Expand Down
3 changes: 3 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
before_install:
- yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-29"
- yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;29.0.3"

install:
- ./gradlew build :lib:publishToMavenLocal

0 comments on commit 86eb49d

Please sign in to comment.