Skip to content

Commit

Permalink
Merge pull request #2 from tkey/feat/jitpack
Browse files Browse the repository at this point in the history
feat: jitpack config
  • Loading branch information
ieow authored Dec 15, 2023
2 parents 70cd24e + d806003 commit c2bbe1f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jitpack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk11
install:
- ./gradlew :tkey:build :tkey:publishToMavenLocal
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pluginManagement {
gradlePluginPortal()
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}

Expand Down
9 changes: 9 additions & 0 deletions tkey/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'com.android.library'
id 'maven-publish'
}

apply plugin: 'jacoco'
Expand Down Expand Up @@ -81,4 +82,12 @@ afterEvaluate {
javadoc.classpath += files(android.libraryVariants.collect { variant ->
variant.javaCompileProvider.get().classpath.files
})

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

0 comments on commit c2bbe1f

Please sign in to comment.