Skip to content

Commit b445c66

Browse files
committed
Development: Update SDK and build dependencies
1 parent 223a833 commit b445c66

File tree

8 files changed

+25
-24
lines changed

8 files changed

+25
-24
lines changed

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
end-to-end-tests:
1212
name: End To End Tests
13-
runs-on: [self-hosted, ase-large-android-sdk-34]
13+
runs-on: [self-hosted, ase-large-android-sdk-35]
1414
timeout-minutes: 60
1515

1616
steps:

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
jUnit:
1212
name: JUnit Tests
13-
runs-on: [self-hosted, ase-large-android-sdk-34]
13+
runs-on: [self-hosted, ase-large-android-sdk-35]
1414
timeout-minutes: 60
1515

1616
steps:
@@ -41,4 +41,4 @@ jobs:
4141
name: Android Unit Tests
4242
path: test-outputs/**/*.xml
4343
reporter: java-junit
44-
fail-on-empty: 'false'
44+
fail-on-empty: 'false'

app/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.google.firebase.appdistribution.gradle.firebaseAppDistribution
44
import java.io.FileInputStream
55
import java.util.Properties
6-
import java.lang.Boolean as JavaBoolean
76

87
// https://developer.android.com/studio/publish/app-signing#secure-shared-keystore
98
val keystorePropertiesFile = rootProject.file("keystore.properties")
@@ -24,7 +23,7 @@ plugins {
2423
android {
2524
namespace = "de.tum.informatics.www1.artemis.native_app.android"
2625

27-
val versionName = "0.9.0"
26+
val versionName = "1.0.0"
2827
val versionCode =
2928
if (!System.getenv("bamboo_buildNumber")
3029
.isNullOrEmpty()

build-logic/convention/src/main/kotlin/commonConfiguration/AndroidCompose.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import org.gradle.kotlin.dsl.getByType
66

77
//Adapted from: https://github.com/android/nowinandroid/blob/bbc5460b624d67b64b5b5118f8a0e1763427e7e4/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidCompose.kt
88

9-
internal fun Project.configureCompose(commonExtension: CommonExtension<*, *, *, *, *>) {
9+
internal fun Project.configureCompose(commonExtension: CommonExtension<*, *, *, *, *, *>) {
1010
val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")
1111

1212
commonExtension.apply {
@@ -43,4 +43,4 @@ internal fun Project.configureCompose(commonExtension: CommonExtension<*, *, *,
4343
add("testImplementation", "androidx.compose.ui:ui-test-manifest")
4444
}
4545
}
46-
}
46+
}

build-logic/convention/src/main/kotlin/commonConfiguration/KotlinAndroid.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ object ProductFlavors {
5454
* Configure base Kotlin with Android options
5555
*/
5656
internal fun Project.configureKotlinAndroid(
57-
commonExtension: CommonExtension<*, *, *, *, *>,
57+
commonExtension: CommonExtension<*, *, *, *, *, *>,
5858
) {
5959
val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")
6060

@@ -112,7 +112,7 @@ internal fun Project.configureKotlinAndroid(
112112
}
113113

114114
internal fun Project.configureReleaseTypeFlavors(
115-
commonExtension: CommonExtension<*, *, *, *, *>,
115+
commonExtension: CommonExtension<*, *, *, *, *, *>,
116116
) {
117117
commonExtension.apply {
118118
flavorDimensions += ProductFlavors.Dimensions.ReleaseType.Key
@@ -136,7 +136,7 @@ internal fun Project.configureReleaseTypeFlavors(
136136
}
137137

138138
internal fun Project.configureInstanceSelectionFlavors(
139-
commonExtension: CommonExtension<*, *, *, *, *>,
139+
commonExtension: CommonExtension<*, *, *, *, *, *>,
140140
) {
141141
commonExtension.apply {
142142
flavorDimensions += ProductFlavors.Dimensions.InstanceSelection.Key
@@ -191,6 +191,6 @@ private fun NamedDomainObjectContainer<out ProductFlavor>.createFlavor(
191191
}
192192
}
193193

194-
fun CommonExtension<*, *, *, *, *>.kotlinOptions(block: KotlinJvmOptions.() -> Unit) {
194+
fun CommonExtension<*, *, *, *, *, *>.kotlinOptions(block: KotlinJvmOptions.() -> Unit) {
195195
(this as ExtensionAware).extensions.configure("kotlinOptions", block)
196196
}

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ plugins {
2121
}
2222

2323
tasks.register("clean", Delete::class) {
24-
delete(rootProject.buildDir)
25-
}
24+
delete(rootProject.layout.buildDirectory)
25+
}

gradle/libs.versions.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[versions]
2-
compileSdk = "34"
3-
targetSdk = "33"
4-
minSdk = "30"
5-
buildToolsVersion = "34.0.0"
2+
compileSdk = "35"
3+
targetSdk = "34"
4+
minSdk = "31"
5+
buildToolsVersion = "35.0.0"
66

77
accompanist = "0.30.1"
88
androidDesugarJdkLibs = "2.0.4"
@@ -11,13 +11,13 @@ androidxAppCompat = "1.6.1"
1111
androidxComposeBom = "2023.10.01"
1212
androidxLifecycle = "2.6.2"
1313
androidxNavigation = "2.7.5"
14-
androidGradlePlugin = "8.1.4"
14+
androidGradlePlugin = "8.7.0"
1515
androidxDataStore = "1.0.0"
1616
androidxPaging = "3.2.1"
1717
androidxPagingCompose = "3.2.1"
1818
coil = "2.4.0"
1919
emoji2 = "1.4.0"
20-
kotlin = "1.9.22"
20+
kotlin = "1.9.25"
2121
kotlinxCoroutines = "1.7.3"
2222
kotlinxDatetime = "0.4.0"
2323
kotlinxSerializationJson = "1.5.1"
@@ -35,8 +35,8 @@ sentry-android = "6.22.0"
3535
work = "2.9.0"
3636

3737
# Used indirecly in the build config -> Do not remove without double checking.
38-
androidxComposeCompiler = "1.5.4"
39-
androidxCore = "1.12.0"
38+
androidxComposeCompiler = "1.5.15"
39+
androidxCore = "1.13.1"
4040

4141
[libraries]
4242
accompanist-placeholder-material = { group = "com.google.accompanist", name = "accompanist-placeholder-material", version.ref = "accompanist" }
@@ -122,7 +122,7 @@ noties-markwon-image-coil = { group = "io.noties.markwon", name = "image-coil",
122122
oss-licenses-plugin = { module = "com.google.android.gms:oss-licenses-plugin", version.ref = "ossLicensesPlugin" }
123123
placeholder-material = { group = "io.github.fornewid", name = "placeholder-material3", version.ref = "placeholderMaterial" }
124124
play-services-oss-licences = { group = "com.google.android.gms", name = "play-services-oss-licenses", version = "17.0.1" }
125-
robolectric = { group = "org.robolectric", name = "robolectric", version = "4.10.3" }
125+
robolectric = { group = "org.robolectric", name = "robolectric", version = "4.13" }
126126
sentry-android = { group = "io.sentry", name = "sentry-android", version.ref = "sentry-android" }
127127
sentry-compose-android = { group = "io.sentry", name = "sentry-compose-android", version.ref = "sentry-android" }
128128
toolbar-compose = { group = "me.onebone", name = "toolbar-compose", version = "2.3.5" }
@@ -139,4 +139,4 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
139139
google-services = { id = "com.google.gms.google-services", version = "4.4.0" }
140140
google-firebase-appdistribution = { id = "com.google.firebase.appdistribution", version = "4.0.1" }
141141
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
142-
google-ksp = { id = "com.google.devtools.ksp", version = "1.9.20-1.0.14" }
142+
google-ksp = { id = "com.google.devtools.ksp", version = "1.9.25-1.0.20" }

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ The following libraries and tools are utilized:
3535
To run this project, you need a recent version of [Android Studio](https://developer.android.com/studio) or IntelliJ (not guaranteed to work) and the AndroidSDK installed.
3636
If you want to run the end-to-end tests, you will also need [docker](https://www.docker.com/).
3737

38+
Alternative, you can install the Android SDK as described here: https://benshapi.ro/post/android-sdk-without-android-studio
39+
3840
## Build flavors
3941
This project is configured to support multiple [flavor dimensions](https://developer.android.com/build/build-variants):
4042
- TUM or unrestricted: For TUM builds, users are forced to connect to the [TUM Artemis instance](https://artemis.cit.tum.de).
@@ -53,4 +55,4 @@ in AndroidStudio and select copy-image.
5355
By building the dockerfile or using its derived images, you accept the terms in the following license agreements:
5456
* [Android Software Development Kit License Agreement](https://raw.githubusercontent.com/thyrlian/AndroidSDK/master/EULA/AndroidSoftwareDevelopmentKitLicenseAgreement-20190116) (or read it [here](https://developer.android.com/studio/terms.html))
5557
* [Android SDK Preview License Agreement](https://raw.githubusercontent.com/thyrlian/AndroidSDK/master/EULA/AndroidSDKPreviewLicenseAgreement)
56-
* [Intel Android Extra License](https://raw.githubusercontent.com/thyrlian/AndroidSDK/master/EULA/IntelAndroidExtraLicense)
58+
* [Intel Android Extra License](https://raw.githubusercontent.com/thyrlian/AndroidSDK/master/EULA/IntelAndroidExtraLicense)

0 commit comments

Comments
 (0)