Skip to content

Commit d156fdd

Browse files
committed
Reestruturando as dependencias
1 parent d35392f commit d156fdd

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

app/build.gradle

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ android {
2323
release {
2424
minifyEnabled true
2525
shrinkResources true
26-
useProguard true
2726
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2827
}
2928
debug{
3029
minifyEnabled false
3130
shrinkResources false
32-
useProguard false
3331
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3432
testCoverageEnabled = true
3533
}
@@ -66,15 +64,10 @@ android {
6664

6765
dependencies {
6866

69-
rootProject.appFoundationModule.each {
70-
add(it.configuration, it.dependency, it.options)
71-
}
72-
rootProject.appNetworkingModule.each {
73-
add(it.configuration, it.dependency, it.options)
74-
}
75-
rootProject.appTestingModule.each {
76-
add(it.configuration, it.dependency, it.options)
77-
}
67+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
68+
implementation "androidx.appcompat:appcompat:$appCompat"
69+
implementation "androidx.core:core-ktx:$androidCore"
70+
implementation "com.google.android.material:material:$androidMaterial"
7871

7972

8073
}

dependencies.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ ext {
6363

6464

6565
def foundationDependencies = [
66-
kotlin : [group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk7', version: kotlin_version],
67-
appCompat : [group: 'androidx.appcompat', name: 'appcompat', version: appCompat],
68-
core : [group: 'androidx.core', name: 'core-ktx', version: androidCore],
69-
materialDesign : [group: 'com.google.android.material', name: 'material', version: androidMaterial],
7066
constraintLayout : [group: 'androidx.constraintlayout', name: 'constraintlayout', version: constraintLayout],
7167
androidLegacy : [group: 'androidx.legacy', name: 'legacy-support-v4', version: androidLegacy],
7268
lifecycleViewModel : [group: 'androidx.lifecycle', name: 'lifecycle-viewmodel-ktx', version: lifecycle_version],

0 commit comments

Comments
 (0)