This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More modularization and fixes (#3096)
* WIP: Modularize `:shared:data` * Split further the convention plugins * Fix the integration tests * WIP: Fix the exchange rates code * WIP: Fix the Exchange rates * Fix the exchange rates * Add some error handling with bad UX * Fix unit tests * Fix Detekt * Add script for running the Paparazzi * Update the modules graph * Fix the integration tests * Bump version to "4.6.1" (161)
- Loading branch information
1 parent
a041a13
commit 8700f83
Showing
227 changed files
with
1,430 additions
and
1,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
plugins { | ||
id("ivy.kotlin-android") | ||
id("dagger.hilt.android.plugin") | ||
id("com.google.devtools.ksp") | ||
} | ||
|
||
kotlin { | ||
sourceSets.all { | ||
kotlin.srcDir("build/generated/ksp/$name/kotlin") | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(libs.bundles.hilt) | ||
ksp(catalog.library("hilt-compiler")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
plugins { | ||
id("com.android.library") | ||
id("kotlin-android") | ||
id("org.jetbrains.kotlin.android") | ||
} | ||
|
||
android { | ||
// Kotlin | ||
val javaVersion = catalog.version("jvm-target") | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.valueOf("VERSION_$javaVersion") | ||
targetCompatibility = JavaVersion.valueOf("VERSION_$javaVersion") | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = javaVersion | ||
} | ||
|
||
// Android | ||
compileSdk = catalog.version("compile-sdk").toInt() | ||
defaultConfig { | ||
minSdk = catalog.version("min-sdk").toInt() | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(libs.bundles.arrow) | ||
implementation(libs.bundles.kotlin) | ||
implementation(catalog.bundle("kotlin-android")) | ||
implementation(libs.timber) | ||
|
||
testImplementation(libs.bundles.testing) | ||
} |
8 changes: 8 additions & 0 deletions
8
buildSrc/src/main/kotlin/ivy.kotlinx-serialization.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
plugins { | ||
id("ivy.kotlin-android") | ||
id("org.jetbrains.kotlin.plugin.serialization") | ||
} | ||
|
||
dependencies { | ||
implementation(catalog.library("kotlinx-serialization-json")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,5 @@ | ||
plugins { | ||
id("com.android.library") | ||
id("kotlin-android") | ||
id("org.jetbrains.kotlin.android") | ||
id("dagger.hilt.android.plugin") | ||
id("com.google.devtools.ksp") | ||
id("org.jetbrains.kotlin.plugin.serialization") | ||
} | ||
|
||
kotlin { | ||
sourceSets.all { | ||
kotlin.srcDir("build/generated/ksp/$name/kotlin") | ||
} | ||
} | ||
|
||
android { | ||
// Kotlin | ||
val javaVersion = catalog.version("jvm-target") | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.valueOf("VERSION_$javaVersion") | ||
targetCompatibility = JavaVersion.valueOf("VERSION_$javaVersion") | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = javaVersion | ||
} | ||
|
||
// Android | ||
compileSdk = catalog.version("compile-sdk").toInt() | ||
defaultConfig { | ||
minSdk = catalog.version("min-sdk").toInt() | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(libs.bundles.arrow) | ||
implementation(libs.bundles.kotlin) | ||
implementation(catalog.bundle("kotlin-android")) | ||
implementation(libs.timber) | ||
|
||
implementation(libs.bundles.hilt) | ||
ksp(catalog.library("hilt-compiler")) | ||
|
||
implementation(catalog.library("kotlinx-serialization-json")) | ||
|
||
testImplementation(libs.bundles.testing) | ||
id("ivy.kotlin-android") | ||
id("ivy.hilt") | ||
id("ivy.kotlinx-serialization") | ||
} |
Oops, something went wrong.