Skip to content

Commit

Permalink
Merge pull request #59 from saschpe/saschpe.updates
Browse files Browse the repository at this point in the history
Updates!
  • Loading branch information
saschpe authored Sep 12, 2024
2 parents 76e4164 + bd756ff commit 973eeb2
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 120 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: 21
- name: Run Spotless
run: ./gradlew spotlessCheck

build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: 21
- name: Build with Gradle
run: ./gradlew build
- name: Archive build artifacts
Expand Down Expand Up @@ -54,11 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
ref: refs/heads/main
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: 21
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Dependency updates:
- [kotlinx-io 0.5.3](https://github.com/Kotlin/kotlinx-io/releases/tag/0.5.3)
- [kotlin-wrappers pre.805](https://github.com/JetBrains/kotlin-wrappers/releases/tag/pre.805)
- [androidx-activity-compose 1.9.2](https://developer.android.com/jetpack/androidx/releases/activity#1.9.2)
- [Kotlin 2.0.20](https://github.com/JetBrains/kotlin/releases/tag/v2.0.20)

## [1.3.4] - 2024-08-09
- Dependency updates:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ spotless {
}
kotlin {
target("**/*.kt")
ktlint("1.3.1").setEditorConfigPath("${project.rootDir}/.editorconfig")
ktlint(libs.versions.ktlint.get()).setEditorConfigPath("${project.rootDir}/.editorconfig")
}
kotlinGradle {
ktlint("1.3.1").setEditorConfigPath("${project.rootDir}/.editorconfig")
ktlint(libs.versions.ktlint.get()).setEditorConfigPath("${project.rootDir}/.editorconfig")
}
}

Expand Down
8 changes: 3 additions & 5 deletions demo/compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,20 @@ android {
}
}
buildTypes {
getByName("release") {
release {
isMinifyEnabled = false
}
}
buildFeatures {
compose = true
}
compileOptions {
sourceCompatibility(libs.versions.java.get())
targetCompatibility(libs.versions.java.get())
}
dependencies {
debugImplementation(compose.uiTooling)
}
}

java.toolchain.languageVersion.set(JavaLanguageVersion.of(libs.versions.java.get()))

compose.desktop {
application {
mainClass = "MainKt"
Expand Down
15 changes: 8 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ android-compileSdk = "34"
android-minSdk = "21"
android-targetSdk = "34"
compose = "1.6.11"
log4k-demo = "1.0.0"
gradle-android = "8.5.2"
jacoco = "0.8.11"
java = "17"
kotlin = "2.0.10"
java = "21"
kotlin = "2.0.20"
ktlint = "1.3.1"
log4k-demo = "1.0.0"
mockk = "1.13.12"

[libraries]
androidx-activity-compose = "androidx.activity:activity-compose:1.9.1"
kotlin-wrappers = "org.jetbrains.kotlin-wrappers:kotlin-node:20.14.10-pre.788"
kotlinx-datetime = "org.jetbrains.kotlinx:kotlinx-datetime:0.6.0"
kotlinx-io = "org.jetbrains.kotlinx:kotlinx-io-core:0.5.1"
androidx-activity-compose = "androidx.activity:activity-compose:1.9.2"
kotlin-wrappers = "org.jetbrains.kotlin-wrappers:kotlin-node:22.5.4-pre.805"
kotlinx-datetime = "org.jetbrains.kotlinx:kotlinx-datetime:0.6.1"
kotlinx-io = "org.jetbrains.kotlinx:kotlinx-io-core:0.5.3"
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
mockk-android = { module = "io.mockk:mockk-android", version.ref = "mockk" }
slf4j-api = "org.slf4j:slf4j-api:1.7.36"
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading

0 comments on commit 973eeb2

Please sign in to comment.