Skip to content

Commit

Permalink
chore: Cleanup Gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbileck committed Jan 31, 2024
1 parent 3276be1 commit 1aea7f3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ android {

dependencies {
implementation 'androidx.test.uiautomator:uiautomator:2.2.0'
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.4")
detektPlugins('io.gitlab.arturbosch.detekt:detekt-formatting:1.23.4')

implementation "androidx.core:core-ktx:1.12.0"
implementation 'androidx.core:core-ktx:1.12.0'

implementation 'androidx.preference:preference-ktx:1.2.1'

Expand Down Expand Up @@ -136,23 +136,23 @@ dependencies {

implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0'
implementation "androidx.lifecycle:lifecycle-common-java8:2.7.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0"
implementation 'androidx.lifecycle:lifecycle-common-java8:2.7.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

implementation "androidx.multidex:multidex:2.0.1"
implementation 'androidx.multidex:multidex:2.0.1'

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'io.mockk:mockk:1.13.9'
testImplementation 'org.powermock:powermock:1.6.5'
testImplementation 'org.powermock:powermock-module-junit4:2.0.2'
testImplementation 'org.powermock:powermock-api-mockito2:2.0.2'
testImplementation(project(":testCommon"))
testImplementation(project(':testCommon'))

androidTestImplementation 'junit:junit:4.13.2'
androidTestImplementation "androidx.test:core-ktx:1.5.0"
androidTestImplementation 'androidx.test:core-ktx:1.5.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
Expand All @@ -162,9 +162,9 @@ dependencies {
androidTestImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1'
androidTestImplementation 'org.awaitility:awaitility-kotlin:4.2.0'
androidTestImplementation 'io.mockk:mockk-android:1.13.9'
androidTestImplementation(project(":testCommon")) {
androidTestImplementation(project(':testCommon')) {
// Prevent conflict with mockk-android
exclude group: "io.mockk", module: "mockk"
exclude group: 'io.mockk', module: 'mockk'
}
androidTestImplementation 'org.objenesis:objenesis:3.3'

Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ buildscript {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath 'com.google.gms:google-services:4.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.0"
classpath 'org.jlleitschuh.gradle:ktlint-gradle:12.1.0'
}
}

plugins {
id 'com.google.devtools.ksp' version '1.9.22-1.0.17' apply false
id "io.gitlab.arturbosch.detekt" version "1.23.4"
id "io.snyk.gradle.plugin.snykplugin" version "0.5"
id 'io.gitlab.arturbosch.detekt' version '1.23.4'
id 'io.snyk.gradle.plugin.snykplugin' version '0.5'
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
id "org.jlleitschuh.gradle.ktlint" version "12.1.0"
id 'org.jlleitschuh.gradle.ktlint' version '12.1.0'
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions testCommon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ android {
}

dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.4")
detektPlugins('io.gitlab.arturbosch.detekt:detekt-formatting:1.23.4')

implementation platform('com.google.firebase:firebase-bom:32.7.1')
implementation 'com.google.firebase:firebase-messaging:23.4.0'

implementation "io.mockk:mockk:1.13.9"
implementation 'io.mockk:mockk:1.13.9'
implementation 'junit:junit:4.13.2'
}

0 comments on commit 1aea7f3

Please sign in to comment.