mirror of
https://github.com/GayPizzaSpecifications/stable-diffusion-rpc.git
synced 2025-08-03 05:30:54 +00:00
Add proper Java client publication to Gradle.
This commit is contained in:
@ -22,6 +22,8 @@ java {
|
||||
val javaVersion = JavaVersion.toVersion(17)
|
||||
sourceCompatibility = javaVersion
|
||||
targetCompatibility = javaVersion
|
||||
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@ -74,6 +76,12 @@ protobuf {
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("mavenJava") {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
||||
|
Reference in New Issue
Block a user