Skip to content

Commit

Permalink
konfy 0.1.26 release:
Browse files Browse the repository at this point in the history
Build with java 17 target
provider with lambda as a default

Deps updated:
Kotlin 1.9.21
io.kubernetes.client-java 20.0.0
aws-java-sdk-ssm 1.12.655
kotlin-datetime 0.4.0
tomlj 1.1.1
  • Loading branch information
Tapac committed Feb 10, 2024
1 parent f5a9332 commit 6e036ce
Show file tree
Hide file tree
Showing 15 changed files with 242 additions and 157 deletions.
9 changes: 6 additions & 3 deletions .space.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
job("Konfy / Build") {
container("openjdk:11") {
container("amazoncorretto:17-alpine3.19-jdk") {
shellScript {
content = """
./gradlew build
Expand All @@ -9,7 +9,7 @@ job("Konfy / Build") {
}

job("Konfy / Test") {
container("openjdk:11") {
container("amazoncorretto:17-alpine3.19-jdk") {
shellScript {
content = """
./gradlew test
Expand All @@ -25,7 +25,10 @@ job("Konfy / Release") {
}
}

container("openjdk:11") {
container("amazoncorretto:17-alpine3.19-jdk") {
env["JB_SPACE_CLIENT_ID"] = "{{ project:spaceUsername }}"
env["JB_SPACE_CLIENT_SECRET"] = "{{ project:spacePassword }}"

shellScript {
content = """
./gradlew publish
Expand Down
15 changes: 9 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
import tanvd.kosogor.proxy.publishJar

group = "tanvd.konfy"
version = "0.1.25"
version = "0.1.26"

plugins {
id("tanvd.kosogor") version "1.0.18" apply true
id("io.gitlab.arturbosch.detekt") version ("1.22.0") apply true
kotlin("jvm") version "1.9.0" apply false
kotlin("jvm") version "1.9.21" apply false
`kotlin-dsl`
`maven-publish`
}

Expand All @@ -32,23 +33,25 @@ subprojects {
url = uri("https://packages.jetbrains.team/maven/p/konfy/maven")

credentials {
println("${this@subprojects.name} : JB_SPACE_CLIENT_ID: ${System.getenv("JB_SPACE_CLIENT_ID")}")
username = System.getenv("JB_SPACE_CLIENT_ID")
password = System.getenv("JB_SPACE_CLIENT_SECRET")
}
}
}
}

tasks.withType(JavaCompile::class) {
targetCompatibility = "11"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}

tasks.withType<KotlinJvmCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
apiVersion = "1.9"
languageVersion = "1.9"
freeCompilerArgs += "-Xuse-ir"
}
}

Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
org.gradle.caching=true
org.gradle.configuration-cache=false
org.gradle.parallel=true
org.gradle.vfs.watch=true
kotlin.stdlib.default.dependency=false
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 6e036ce

Please sign in to comment.