Skip to content

Commit

Permalink
Merge branch 'feat/jitpack' into feat/v2-jsformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Dec 15, 2023
2 parents c4b90ad + d806003 commit 9bc9509
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 9bc9509

Please sign in to comment.