Skip to content

Commit 17c5c71

Browse files
committed
Changes to build gradle
1 parent 3205819 commit 17c5c71

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

iosalert/build.gradle

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,14 @@ configurations {
3636
}
3737

3838
dependencies {
39-
implementation fileTree(dir: 'libs', include: ['*.jar'])
39+
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
4040
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
4141
implementation 'androidx.appcompat:appcompat:1.1.0'
4242
implementation 'androidx.core:core-ktx:1.2.0'
4343
testImplementation 'junit:junit:4.12'
4444
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
4545
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
4646

47-
implementation 'com.eightbitlab:blurview:1.6.2'
48-
implementation 'com.android.support:support-annotations:28.0.0'
49-
5047
myConfig 'com.eightbitlab:blurview:1.6.2'
5148
myConfig 'com.android.support:support-annotations:28.0.0'
5249
}
@@ -55,24 +52,3 @@ task copyLibs(type: Copy) {
5552
from configurations.myConfig
5653
into 'libs'
5754
}
58-
59-
//project.afterEvaluate {
60-
// def isAndroidLibraryProject = project.plugins.hasPlugin('com.android.library')
61-
// if(isAndroidLibraryProject) {
62-
// task copyDeps(type:Copy) {
63-
// from configurations.myConfig {
64-
// include '**/*.jar'
65-
// }
66-
// into "./build/intermediates/packaged-classes/release/libs" // this folder gets packaged inside the AAR
67-
// }
68-
// mergeReleaseJniLibFolders.dependsOn copyDeps // only this stage worked for me - neither earlier, nor later
69-
//
70-
// task copyDebugDeps(type:Copy) {
71-
// from configurations.myConfig {
72-
// include '**/*.jar'
73-
// }
74-
// into "./build/intermediates/packaged-classes/debug/libs"
75-
// }
76-
// mergeDebugJniLibFolders.dependsOn copyDebugDeps
77-
// }
78-
//}

0 commit comments

Comments
 (0)