Skip to content

Commit

Permalink
add java 17 compatibility for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jillesvangurp committed Jan 2, 2024
1 parent f0a7ee9 commit b7c4541
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ repositories {

}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

dependencies {
implementation(KotlinX.coroutines.jdk8)
implementation(KotlinX.coroutines.slf4j)
Expand Down Expand Up @@ -52,11 +57,15 @@ configure<ComposeExtension> {
setProjectName("pg-docstore")
}

configure<PublishingExtension> {
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
repositories {
maven {
// GOOGLE_APPLICATION_CREDENTIALS env var must be set for this to work
// public repository is at https://maven.tryformation.com/releases
// change to point to your repo, e.g. http://my.org/repo
url = uri("gcs://mvn-public-tryformation/releases")
name = "FormationPublic"
}
Expand Down

0 comments on commit b7c4541

Please sign in to comment.