Skip to content

Commit

Permalink
Changes to build gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Maliotis committed May 26, 2020
1 parent 3205819 commit 17c5c71
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions iosalert/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,14 @@ configurations {
}

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

implementation 'com.eightbitlab:blurview:1.6.2'
implementation 'com.android.support:support-annotations:28.0.0'

myConfig 'com.eightbitlab:blurview:1.6.2'
myConfig 'com.android.support:support-annotations:28.0.0'
}
Expand All @@ -55,24 +52,3 @@ task copyLibs(type: Copy) {
from configurations.myConfig
into 'libs'
}

//project.afterEvaluate {
// def isAndroidLibraryProject = project.plugins.hasPlugin('com.android.library')
// if(isAndroidLibraryProject) {
// task copyDeps(type:Copy) {
// from configurations.myConfig {
// include '**/*.jar'
// }
// into "./build/intermediates/packaged-classes/release/libs" // this folder gets packaged inside the AAR
// }
// mergeReleaseJniLibFolders.dependsOn copyDeps // only this stage worked for me - neither earlier, nor later
//
// task copyDebugDeps(type:Copy) {
// from configurations.myConfig {
// include '**/*.jar'
// }
// into "./build/intermediates/packaged-classes/debug/libs"
// }
// mergeDebugJniLibFolders.dependsOn copyDebugDeps
// }
//}

0 comments on commit 17c5c71

Please sign in to comment.