Skip to content

Commit

Permalink
⬆️ bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jforatier committed Jul 14, 2024
1 parent 99c7068 commit a88b811
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 84 deletions.
20 changes: 8 additions & 12 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.2"
kotlinCompilerExtensionVersion = "1.5.14"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand Down Expand Up @@ -110,14 +110,11 @@ android {
dependencies {
val androidCoreVersion: String by project
val lifecycleVersion: String by project
val appcompatVersion: String by project
val activityVersion: String by project
val composeBomVersion: String by project
val coilVersion: String by project
val navigationVersion: String by project
val daggerVersion: String by project
val hiltVersion: String by project
val composeVersion: String by project
val materialVersion: String by project
val okhttpVersion: String by project
val retrofitVersion: String by project
val dataStoreVersion: String by project
Expand All @@ -139,7 +136,6 @@ dependencies {
//region Core & Lifecycle

implementation("androidx.core:core-ktx:$androidCoreVersion")
implementation("androidx.appcompat:appcompat:$appcompatVersion")
implementation("androidx.lifecycle:lifecycle-runtime-compose:$lifecycleVersion")

//endregion
Expand All @@ -155,15 +151,16 @@ dependencies {

//region UI

implementation("androidx.compose.material3:material3:$materialVersion")
implementation("androidx.activity:activity-compose:$activityVersion")
implementation("androidx.navigation:navigation-compose:$navigationVersion")
implementation("io.coil-kt:coil-compose:$coilVersion")

// UI - Tooling
implementation("androidx.compose.ui:ui-tooling-preview:$composeVersion")
debugImplementation("androidx.compose.ui:ui-tooling:$composeVersion")
debugImplementation("androidx.compose.ui:ui-test-manifest:$composeVersion")
val composeBom = platform("androidx.compose:compose-bom:$composeBomVersion")
implementation(composeBom)
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.ui:ui-tooling-preview")
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")

//endregion

Expand Down Expand Up @@ -222,7 +219,6 @@ dependencies {
androidTestImplementation("androidx.test.espresso:espresso-core:$espressoVersion")
androidTestImplementation("io.mockk:mockk-android:$mockkVersion")
androidTestImplementation("io.mockk:mockk-agent:$mockkVersion")
androidTestImplementation("androidx.compose.ui:ui-test-junit4:$composeVersion")
androidTestImplementation("com.google.dagger:hilt-android-testing:$daggerVersion")
kaptAndroidTest("com.google.dagger:hilt-compiler:$daggerVersion")
androidTestImplementation("androidx.work:work-testing:$workVersion")
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ buildscript {
}
dependencies {
// -- Core plugins
classpath("com.android.tools.build:gradle:8.1.2")
classpath("com.android.tools.build:gradle:8.5.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")

// -- Application plugins
classpath("com.google.dagger:hilt-android-gradle-plugin:$daggerVersion")

// -- Services & Monitoring
classpath("com.google.gms:google-services:4.3.14")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.2")
classpath("com.google.gms:google-services:4.4.2")
classpath("com.google.firebase:firebase-crashlytics-gradle:3.0.2")
classpath("com.google.firebase:perf-plugin:1.4.2")
}
}
Expand Down
27 changes: 12 additions & 15 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ plugins {
}

android {
val composeCompilerVersion: String by project
compileSdk = 33

defaultConfig {
minSdk = 23
targetSdk = 31
targetSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand All @@ -33,7 +34,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.2"
kotlinCompilerExtensionVersion = composeCompilerVersion
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -49,8 +50,7 @@ dependencies {
val lifecycleVersion: String by project
val daggerVersion: String by project
val hiltVersion: String by project
val materialVersion: String by project
val composeVersion: String by project
val composeBomVersion: String by project
val junitVersion: String by project
val espressoVersion: String by project

Expand All @@ -59,17 +59,14 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion")

//region UI
implementation("androidx.compose.material3:material3:$materialVersion")

//region Compose

implementation("androidx.compose.foundation:foundation:$composeVersion")
implementation("androidx.compose.ui:ui:$composeVersion")

// Android Studio Preview support
implementation("androidx.compose.ui:ui-tooling-preview:$composeVersion")
debugImplementation("androidx.compose.ui:ui-tooling:$composeVersion")
//region UI / Compose
val composeBom = platform("androidx.compose:compose-bom:$composeBomVersion")
implementation(composeBom)
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.foundation:foundation")
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-tooling-preview")
debugImplementation("androidx.compose.ui:ui-tooling")

//endregion

Expand Down
26 changes: 12 additions & 14 deletions feature/boardgame/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ plugins {
}

android {
val composeCompilerVersion: String by project

compileSdk = 33

defaultConfig {
minSdk = 23
targetSdk = 31
targetSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand All @@ -36,7 +38,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.2"
kotlinCompilerExtensionVersion = composeCompilerVersion
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -53,14 +55,12 @@ android {

dependencies {
val androidCoreVersion: String by project
val appcompatVersion: String by project
val okioVersion: String by project
val navigationVersion: String by project
val lifecycleVersion: String by project
val daggerVersion: String by project
val hiltVersion: String by project
val materialVersion: String by project
val composeVersion: String by project
val composeBomVersion: String by project
val coilVersion: String by project
val roomVersion: String by project
val workVersion: String by project
Expand All @@ -76,7 +76,6 @@ dependencies {
//region Core & Lifecycle

implementation("androidx.core:core-ktx:$androidCoreVersion")
implementation("androidx.appcompat:appcompat:$appcompatVersion")
implementation("com.squareup.okio:okio:$okioVersion")

implementation("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion")
Expand All @@ -95,16 +94,18 @@ dependencies {

//region UI

implementation("androidx.compose.foundation:foundation:$composeVersion")
implementation("androidx.compose.ui:ui:$composeVersion")
implementation("androidx.compose.material3:material3:$materialVersion")
val composeBom = platform("androidx.compose:compose-bom:$composeBomVersion")
implementation(composeBom)
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.foundation:foundation")
implementation("androidx.compose.ui:ui")
implementation("androidx.navigation:navigation-compose:$navigationVersion")
implementation("androidx.hilt:hilt-navigation-compose:$hiltVersion")
implementation("io.coil-kt:coil-compose:$coilVersion")

// UI - Tooling
implementation("androidx.compose.ui:ui-tooling-preview:$composeVersion")
debugImplementation("androidx.compose.ui:ui-tooling:$composeVersion")
implementation("androidx.compose.ui:ui-tooling-preview")
debugImplementation("androidx.compose.ui:ui-tooling")

//endregion

Expand Down Expand Up @@ -139,9 +140,6 @@ dependencies {
androidTestImplementation("io.mockk:mockk-android:$mockkVersion")
androidTestImplementation("io.mockk:mockk-agent:$mockkVersion")

androidTestImplementation("androidx.compose.ui:ui-test-junit4:$composeVersion")
debugImplementation("androidx.compose.ui:ui-test-manifest:$composeVersion")

androidTestImplementation("androidx.work:work-testing:$workVersion")

//endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ interface BoardGameDao {
@Query("SELECT * FROM boardgame")
fun getBoardGameWithStatistics(): Flow<List<BoardGame>>

@Query("SELECT * FROM boardgame WHERE bgg_id LIKE :bggId")
@Query("SELECT * FROM boardgame WHERE bgg_id = :bggId")
fun getBoardGameWithId(bggId: String): Flow<BoardGame>
}
24 changes: 9 additions & 15 deletions feature/boardgame_list/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ plugins {
}

android {
val composeCompilerVersion: String by project
compileSdk = 33

defaultConfig {
minSdk = 23
targetSdk = 31
targetSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand All @@ -33,7 +34,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.2"
kotlinCompilerExtensionVersion = composeCompilerVersion
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -47,14 +48,12 @@ android {

dependencies {
val androidCoreVersion: String by project
val appcompatVersion: String by project
val okioVersion: String by project
val navigationVersion: String by project
val lifecycleVersion: String by project
val daggerVersion: String by project
val hiltVersion: String by project
val materialVersion: String by project
val composeVersion: String by project
val composeBomVersion: String by project
val coilVersion: String by project
val roomVersion: String by project
val workVersion: String by project
Expand All @@ -71,7 +70,6 @@ dependencies {
//region Core & Lifecycle

implementation("androidx.core:core-ktx:$androidCoreVersion")
implementation("androidx.appcompat:appcompat:$appcompatVersion")
implementation("com.squareup.okio:okio:$okioVersion")

implementation("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion")
Expand All @@ -91,16 +89,16 @@ dependencies {

//region UI

implementation("androidx.compose.foundation:foundation:$composeVersion")
implementation("androidx.compose.ui:ui:$composeVersion")
implementation("androidx.compose.material3:material3:$materialVersion")
val composeBom = platform("androidx.compose:compose-bom:$composeBomVersion")
implementation(composeBom)
implementation("androidx.compose.material3:material3")
implementation("androidx.navigation:navigation-compose:$navigationVersion")
implementation("androidx.hilt:hilt-navigation-compose:$hiltVersion")
implementation("io.coil-kt:coil-compose:$coilVersion")

// UI - Tooling
implementation("androidx.compose.ui:ui-tooling-preview:$composeVersion")
debugImplementation("androidx.compose.ui:ui-tooling:$composeVersion")
implementation("androidx.compose.ui:ui-tooling-preview")
debugImplementation("androidx.compose.ui:ui-tooling")

//endregion

Expand Down Expand Up @@ -132,10 +130,6 @@ dependencies {

androidTestImplementation("io.mockk:mockk-android:$mockkVersion")
androidTestImplementation("io.mockk:mockk-agent:$mockkVersion")

androidTestImplementation("androidx.compose.ui:ui-test-junit4:$composeVersion")
debugImplementation("androidx.compose.ui:ui-test-manifest:$composeVersion")

androidTestImplementation("androidx.work:work-testing:$workVersion")

//endregion
Expand Down
20 changes: 11 additions & 9 deletions feature/preferences/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ plugins {
}

android {
val composeCompilerVersion: String by project
compileSdk = 33

defaultConfig {
minSdk = 23
targetSdk = 31
targetSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand All @@ -33,7 +34,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.2"
kotlinCompilerExtensionVersion = composeCompilerVersion
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -50,8 +51,7 @@ dependencies {
val lifecycleVersion: String by project
val daggerVersion: String by project
val hiltVersion: String by project
val composeVersion: String by project
val materialVersion: String by project
val composeBomVersion: String by project
val navigationVersion: String by project
val dataStoreVersion: String by project
val junitVersion: String by project
Expand All @@ -77,13 +77,15 @@ dependencies {

//region UI

implementation("androidx.compose.foundation:foundation:$composeVersion")
implementation("androidx.compose.ui:ui:$composeVersion")
implementation("androidx.compose.material3:material3:$materialVersion")
val composeBom = platform("androidx.compose:compose-bom:$composeBomVersion")
implementation(composeBom)
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.foundation:foundation")
implementation("androidx.compose.ui:ui")

// UI - Tooling
implementation("androidx.compose.ui:ui-tooling-preview:$composeVersion")
debugImplementation("androidx.compose.ui:ui-tooling:$composeVersion")
implementation("androidx.compose.ui:ui-tooling-preview")
debugImplementation("androidx.compose.ui:ui-tooling")

//endregion

Expand Down
15 changes: 4 additions & 11 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,23 @@ android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
android.defaults.buildfeatures.buildconfig=true

# ----Android Studio---
# Defaults sidebar view to project instead of android
studio.projectview=true

# ---Versions---

# ----Dependencies---
kotlinVersion=1.8.10
appcompatVersion=1.6.1
kotlinVersion=1.9.24
androidCoreVersion=1.9.0
dataStoreVersion=1.0.0
okioVersion=3.3.0
activityVersion=1.7.0-beta02
fragmentVersion=1.5.5
recyclerviewVersion=1.3.0
navigationVersion=2.5.3
materialVersion=1.1.0-beta01
coilVersion=2.3.0
composeVersion=1.4.0-rc01
composeBomVersion=2024.06.00
composeCompilerVersion=1.5.14
daggerVersion=2.48.1
hiltVersion=1.0.0
okhttpVersion=4.10.0
retrofitVersion=2.9.0
roomVersion=2.5.0
roomVersion=2.6.1
workVersion=2.8.1
firebaseVersion=31.2.3
lifecycleVersion=2.6.0
Expand Down
Loading

0 comments on commit a88b811

Please sign in to comment.