eliminate flatDirs warning

This commit is contained in:
Milos Kozak 2022-04-04 12:06:30 +02:00
parent 5cae3bb8be
commit 8b6bd17df5
4 changed files with 8 additions and 9 deletions

View file

@ -167,9 +167,6 @@ android {
allprojects { allprojects {
repositories { repositories {
flatDir {
dirs 'libs'
}
} }
} }

View file

@ -25,6 +25,12 @@ android {
// } // }
} }
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11

View file

@ -6,7 +6,6 @@ import info.nightscout.androidaps.plugin.general.openhumans.dagger.BaseUrl
import info.nightscout.androidaps.plugin.general.openhumans.dagger.ClientId import info.nightscout.androidaps.plugin.general.openhumans.dagger.ClientId
import info.nightscout.androidaps.plugin.general.openhumans.dagger.ClientSecret import info.nightscout.androidaps.plugin.general.openhumans.dagger.ClientSecret
import info.nightscout.androidaps.plugin.general.openhumans.dagger.RedirectUrl import info.nightscout.androidaps.plugin.general.openhumans.dagger.RedirectUrl
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.suspendCancellableCoroutine import kotlinx.coroutines.suspendCancellableCoroutine
import okhttp3.* import okhttp3.*
import okio.BufferedSink import okio.BufferedSink

View file

@ -88,9 +88,6 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
flatDir {
dirs 'libs'
}
} }
} }
@ -110,8 +107,8 @@ dependencies {
compileOnly "com.google.android.wearable:wearable:${wearableVersion}" compileOnly "com.google.android.wearable:wearable:${wearableVersion}"
implementation "com.google.android.support:wearable:${wearableVersion}" implementation "com.google.android.support:wearable:${wearableVersion}"
implementation "com.google.android.gms:play-services-wearable:${playServicesWearable}" implementation "com.google.android.gms:play-services-wearable:${playServicesWearable}"
implementation(name: 'ustwo-clockwise-debug', ext: 'aar') implementation(files('libs/ustwo-clockwise-debug.aar'))
implementation(name: 'wearpreferenceactivity-0.5.0', ext: 'aar') implementation(files('libs/wearpreferenceactivity-0.5.0.aar'))
implementation('com.github.lecho:hellocharts-library:1.5.8@aar') implementation('com.github.lecho:hellocharts-library:1.5.8@aar')
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'