resolved flatDir in the FtcRobotController level

This commit is contained in:
Khosraw Azizi 2022-09-22 21:10:05 -05:00
parent 3ddb2dc3c0
commit 2c9d299ece
4 changed files with 16 additions and 8 deletions

View file

@ -6,6 +6,11 @@ import java.text.SimpleDateFormat
apply plugin: 'com.android.library'
android {
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
defaultConfig {
minSdkVersion 23

View file

@ -3,7 +3,6 @@
//
// Most of the definitions for building your module reside in a common, shared
// file 'build.common.gradle'. Being factored in this way makes it easier to
// integrate updates to the FTC into your code. If you really need to customize
// the build definitions, you can place those customizations in this file, but
// please think carefully as to whether such customizations are really necessary
// before doing so.
@ -16,6 +15,11 @@ apply from: '../build.common.gradle'
apply from: '../build.dependencies.gradle'
android {
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
aaptOptions {
noCompress 'tflite'

View file

@ -2,9 +2,9 @@ repositories {
mavenCentral()
google() // Needed for androidx
mavenCentral() // Needed for tensorflow-lite
flatDir {
dirs rootProject.file('libs')
}
// flatDir {
// dirs rootProject.file('libs')
// }
maven { url = 'https://maven.brott.dev/' }
}

View file

@ -24,16 +24,15 @@ allprojects {
repositories {
mavenCentral()
google()
mavenCentral()
}
}
repositories {
mavenCentral()
flatDir {
dirs '../libs'
}
// flatDir {
// dirs '../libs'
// }
}
dependencies {