Skip to content

Commit

Permalink
Add enableStrongSkippingMode (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandregpereira authored Jul 6, 2024
1 parent 4ffd04d commit 0079055
Show file tree
Hide file tree
Showing 16 changed files with 67 additions and 6 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation(project(":core:analytics"))
implementation(project(":core:event"))
Expand Down
4 changes: 4 additions & 0 deletions feature/folder-detail/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:folder-detail:state-holder')
implementation project(':ui:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/folder-insert/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:folder-insert:state-holder')
implementation project(':ui:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/folder-list/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:folder-list:state-holder')
implementation project(':ui:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/folder-preview/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:folder-preview:state-holder')
implementation project(':ui:core')
Expand Down
16 changes: 10 additions & 6 deletions feature/monster-compendium/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ android {
minSdkVersion project.findProperty('minSdk')
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}

Expand All @@ -28,6 +22,16 @@ android {
namespace 'br.alexandregpereira.hunter.monster.compendium'
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:localization')
implementation project(':feature:folder-preview:event')
Expand Down
4 changes: 4 additions & 0 deletions feature/monster-content-manager/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:monster-content-manager:state-holder')
implementation project(':ui:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/monster-detail/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:state-holder')
implementation project(':domain:monster:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/monster-lore-detail/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:monster-lore-detail:state-holder')
implementation project(':ui:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/monster-registration/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:state-holder')
implementation project(':domain:monster:core')
Expand Down
4 changes: 4 additions & 0 deletions feature/search/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:analytics')
implementation project(':core:localization')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.onEach

@Suppress("OPT_IN_USAGE")
@OptIn(FlowPreview::class)
internal class SearchViewModel(
private val searchMonstersByNameUseCase: SearchMonstersByUseCase,
Expand Down
4 changes: 4 additions & 0 deletions feature/settings/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:analytics')
implementation project(':core:event')
Expand Down
4 changes: 4 additions & 0 deletions feature/spell-compendium/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:analytics')
implementation project(':core:state-holder')
Expand Down
4 changes: 4 additions & 0 deletions feature/spell-detail/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':core:analytics')
implementation project(':core:localization')
Expand Down
4 changes: 4 additions & 0 deletions feature/sync/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ java {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(':feature:sync:state-holder')
implementation project(':ui:core')
Expand Down

0 comments on commit 0079055

Please sign in to comment.