Skip to content

Commit

Permalink
Publish to JitPack
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chelombitko authored and technoir42 committed Jul 9, 2024
1 parent 80ce25e commit 4135f63
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions espresso-server/library/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("com.android.library")
kotlin("android")
`maven-publish`
}

val appiumCompileSdk: String by project
Expand Down Expand Up @@ -51,6 +52,22 @@ android {
targetSdk = appiumTargetSdk.toInt()
unitTests.isReturnDefaultValues = true
}

publishing {
singleVariant("release") {
withSourcesJar()
}
}
}

publishing {
publications {
register<MavenPublication>("release") {
afterEvaluate {
from(components["release"])
}
}
}
}

dependencies {
Expand Down
5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk17
install:
- cd espresso-server
- ./gradlew :library:publishToMavenLocal

0 comments on commit 4135f63

Please sign in to comment.