diff --git a/build.gradle b/build.gradle index 3eaf82d4..6d6352de 100644 --- a/build.gradle +++ b/build.gradle @@ -8,17 +8,14 @@ buildscript { classpath 'com.android.tools.build:gradle:3.5.3' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' - - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31" - classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17" } - ext.kotlinVersion = '1.3.31' } allprojects { repositories { jcenter() google() + maven { url 'https://jitpack.io' } } } diff --git a/cameraview/build.gradle b/cameraview/build.gradle index 16949f5a..dc50d1aa 100644 --- a/cameraview/build.gradle +++ b/cameraview/build.gradle @@ -49,7 +49,11 @@ dependencies { api 'com.google.android.gms:play-services-tasks:17.0.0' implementation 'androidx.annotation:annotation:1.1.0' - implementation project(':egloo') + api 'com.github.natario1:Egloo:refactor-SNAPSHOT' +} + +configurations.all { + resolutionStrategy.cacheChangingModulesFor 0, 'seconds' } //endregion diff --git a/settings.gradle b/settings.gradle index a11db463..48f809fc 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1 @@ include ':demo', ':cameraview' -include ':egloo' -project(':egloo').projectDir = file('../Egloo/library')