Skip to content

Commit 59020b3

Browse files
committed
versions bumped and some cleanup
1 parent 554bf39 commit 59020b3

15 files changed

+58
-173
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- name: Checkout Repo
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
- name: Setup Java 17
6666
uses: actions/setup-java@v3
6767
with:
@@ -76,7 +76,7 @@ jobs:
7676
runs-on: ubuntu-latest
7777
steps:
7878
- name: Checkout Repo
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080
- name: Setup Java 17
8181
uses: actions/setup-java@v3
8282
with:

.github/workflows/pr.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: "Checkout Repo"
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: "Setup Java 17"
2121
uses: actions/setup-java@v3
2222
with:
@@ -31,13 +31,13 @@ jobs:
3131
uses: actions/upload-artifact@v3
3232
with:
3333
name: Debug APK
34-
path: zeapp/app/build/outputs/apk/debug/app-debug.apk
34+
path: zeapp/android/build/outputs/apk/debug/android-debug.apk
3535

3636
format:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: "Checkout Repo"
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
- name: "Setup Java 17"
4242
uses: actions/setup-java@v3
4343
with:
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: "Checkout Repo"
56-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
5757
- name: "Setup Java 17"
5858
uses: actions/setup-java@v3
5959
with:
@@ -68,7 +68,7 @@ jobs:
6868
runs-on: ubuntu-latest
6969
steps:
7070
- name: "Checkout Repo"
71-
uses: actions/checkout@v3
71+
uses: actions/checkout@v4
7272
- name: "Setup Java 17"
7373
uses: actions/setup-java@v3
7474
with:
@@ -83,7 +83,7 @@ jobs:
8383
runs-on: ubuntu-latest
8484
steps:
8585
- name: "Checkout Repo"
86-
uses: actions/checkout@v3
86+
uses: actions/checkout@v4
8787
- name: "Setup Java 17"
8888
uses: actions/setup-java@v3
8989
with:

zeapp/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
.externalNativeBuild
1414
.cxx
1515
local.properties
16-
versions.properties
16+
versions.properties!/versions.properties

zeapp/android/.gitignore

-1
This file was deleted.

zeapp/android/build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ android {
8282
buildConfigField(
8383
"String",
8484
"OPEN_API_TOKEN",
85-
"\"${System.getenv("DALE2_TOKEN")}\"" ?: "\"\"",
85+
"\"${System.getenv("DALE2_TOKEN")}\"",
8686
)
8787

8888
firebaseAppDistribution {
@@ -160,9 +160,9 @@ detekt {
160160
baseline = file("detekt-baseline.xml")
161161
buildUponDefaultConfig = true
162162
reports {
163-
html { enabled = true }
164-
xml { enabled = true }
165-
txt { enabled = false }
163+
html { required = true }
164+
xml { required = true }
165+
txt { required = false }
166166
}
167167
}
168168

zeapp/android/detekt-baseline.xml

+5-121
Large diffs are not rendered by default.

zeapp/android/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
android:roundIcon="@mipmap/ic_launcher"
1515
android:supportsRtl="true"
1616
android:theme="@style/Theme.ZeBadgeApp"
17-
tools:targetApi="31">
17+
tools:targetApi="34">
1818
<profileable android:shell="true" />
1919

2020
<activity

zeapp/badge/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
kotlin {
88
targetHierarchy.default()
99

10-
android {
10+
androidTarget {
1111
compilations.all {
1212
kotlinOptions {
1313
jvmTarget = "1.8"

zeapp/benchmark/.gitignore

-1
This file was deleted.

zeapp/benchmark/build.gradle.kts

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818
}
1919

2020
defaultConfig {
21-
minSdk = 24
21+
minSdk = 29
2222
targetSdk = 34
2323

2424
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -36,9 +36,9 @@ android {
3636
}
3737

3838
testOptions.managedDevices.devices {
39-
create<com.android.build.api.dsl.ManagedVirtualDevice>("pixel6Api31") {
39+
create<com.android.build.api.dsl.ManagedVirtualDevice>("pixel6Api34") {
4040
device = "Pixel 6"
41-
apiLevel = 31
41+
apiLevel = 34
4242
systemImageSource = "aosp"
4343
}
4444
}
@@ -48,14 +48,14 @@ android {
4848
}
4949

5050
dependencies {
51-
implementation("androidx.test.ext:junit:1.1.5")
52-
implementation("androidx.test.uiautomator:uiautomator:2.2.0")
53-
implementation("androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha16")
51+
implementation(libs.androidx.test.ext.junit)
52+
implementation(libs.androidx.uiautomator)
53+
implementation(libs.androidx.benchmark.macro.junit4)
5454
}
5555

5656
baselineProfile {
5757

5858
// This specifies the managed devices to use that you run the tests on. The
5959
// default is none.
60-
managedDevices += "pixel6Api31"
60+
managedDevices += "pixel6Api34"
6161
}

zeapp/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
alias(libs.plugins.firebase.crashlytics) apply false
1212
alias(libs.plugins.license.report.gradle) apply false
1313
id("com.android.test") version "8.0.2" apply false
14-
kotlin("multiplatform").version("1.8.21").apply(false)
14+
kotlin("multiplatform").version("1.9.10").apply(false)
1515
}
1616

1717
tasks.register("clean", Delete::class) {

zeapp/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ android.nonTransitiveRClass=true
2828
kotlin.mpp.enableCInteropCommonization=true
2929
kotlin.mpp.androidSourceSetLayoutVersion=2
3030

31-
kotlin.version=1.9.0
32-
compose.version=1.4.3
31+
kotlin.version=1.9.10
32+
compose.version=1.5.3

zeapp/gradle/libs.versions.toml

+26-23
Original file line numberDiff line numberDiff line change
@@ -17,40 +17,43 @@ license-report-gradle = { id = "com.jaredsburrows.license", version.ref = "licen
1717

1818
[versions]
1919

20-
android-gradle-plugin = "8.1.1"
21-
androidx-activity = "1.7.2"
22-
androidx-compose-bom = "2023.08.00"
23-
androidx-compose-compiler = "1.5.2"
24-
androidx-core = "1.10.1"
20+
android-gradle-plugin = "8.1.2"
21+
androidx-activity = "1.8.0"
22+
androidx-compose-bom = "2023.10.00"
23+
androidx-compose-compiler = "1.5.3"
24+
androidx-core = "1.12.0"
2525
androidx-datastore = "1.0.0"
26-
androidx-lifecycle = "2.6.1"
26+
androidx-lifecycle = "2.6.2"
2727
androidx-test-ext-junit = "1.1.5"
2828
appcompat = "1.6.1"
2929
benchmark = "1.2.0-alpha16"
30-
core-ktx = "1.10.1"
31-
dagger-hilt = "2.46.1"
32-
detekt-gradle = "1.23.0"
30+
benchmarkMacroJunit4 = "1.2.0-rc02"
31+
core-ktx = "1.12.0"
32+
dagger-hilt = "2.48.1"
33+
detekt-gradle = "1.23.1"
3334
espresso-core = "3.5.1"
34-
firebase = "32.2.3"
35+
firebase = "32.3.1"
3536
firebase-appdistribution = "4.0.0"
36-
firebase-crashlytics = "2.9.6"
37-
google-play-services = "4.3.15"
37+
firebase-crashlytics = "2.9.9"
38+
google-play-services = "4.4.0"
3839
jSerialComm = "2.10.3"
3940
junit = "4.13.2"
40-
kotlin = "1.9.0"
41+
kotlin = "1.9.10"
4142
kotlinx-coroutines-core = "1.7.3"
42-
ktlint-gradle = "11.5.0"
43+
ktlint-gradle = "11.6.1"
4344
license-report-gradle = "0.9.3"
44-
material = "1.9.0"
45-
material3-wsc = "1.1.1"
46-
mik3y-usb-serial = "3.5.1"
45+
material = "1.10.0"
46+
material3-wsc = "1.1.2"
47+
mik3y-usb-serial = "3.6.0"
4748
retrofit = "2.9.0"
4849
timber = "5.0.1"
49-
zxing ="3.5.1"
50+
uiautomator = "2.2.0"
51+
zxing ="3.5.2"
5052

5153
[libraries]
5254

5355
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" }
56+
androidx-benchmark-macro-junit4 = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "benchmarkMacroJunit4" }
5457
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "androidx-compose-bom" }
5558
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
5659
androidx-compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
@@ -62,6 +65,7 @@ androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx
6265
androidx-datastore = { module = "androidx.datastore:datastore-preferences", version.ref = "androidx-datastore" }
6366
androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" }
6467
androidx-test-ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidx-test-ext-junit" }
68+
androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "uiautomator" }
6569
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
6670
coil-compose = "io.coil-kt:coil-compose:2.4.0"
6771
coil-transformations = "com.github.Commit451.coil-transformations:transformations:2.0.2"
@@ -83,10 +87,9 @@ retrofit2-retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref =
8387
timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" }
8488
zxing = { module = "com.google.zxing:core", version.ref = "zxing" }
8589

86-
87-
test-assertk = "com.willowtreeapps.assertk:assertk-jvm:0.26.1"
90+
test-assertk = "com.willowtreeapps.assertk:assertk-jvm:0.27.0"
8891
test-junit = "junit:junit:4.13.2"
89-
test-compose-junit = "androidx.compose.ui:ui-test-junit4:1.5.0"
90-
test-compose-manifest = "androidx.compose.ui:ui-test-manifest:1.5.0"
91-
test-mockk = "io.mockk:mockk:1.13.5"
92+
test-compose-junit = "androidx.compose.ui:ui-test-junit4:1.5.3"
93+
test-compose-manifest = "androidx.compose.ui:ui-test-manifest:1.5.3"
94+
test-mockk = "io.mockk:mockk:1.13.8"
9295
test-coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3"

zeapp/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

zeapp/settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pluginManagement {
1414

1515
plugins {
1616
// See https://jmfayard.github.io/refreshVersions
17-
id("de.fayard.refreshVersions") version "0.51.0"
17+
id("de.fayard.refreshVersions") version "0.60.3"
1818
}
1919

2020
refreshVersions {

0 commit comments

Comments
 (0)