mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
fix(android): Remove flatDir from other Gradle files
This commit is contained in:
parent
eeefd6bdc0
commit
e5291fc90b
4 changed files with 28 additions and 16 deletions
|
|
@ -30,12 +30,15 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
|
||||
}
|
||||
|
|
@ -45,6 +48,6 @@ dependencies {
|
|||
implementation 'androidx.appcompat:appcompat:1.7.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
||||
implementation 'com.google.android.material:material:1.12.0'
|
||||
api(name: 'keyman-engine', ext: 'aar')
|
||||
implementation files('libs/keyman-engine.aar')
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,12 +30,15 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
||||
|
|
@ -44,6 +47,6 @@ dependencies {
|
|||
implementation 'androidx.appcompat:appcompat:1.7.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
||||
implementation 'com.google.android.material:material:1.12.0'
|
||||
api (name:'keyman-engine', ext:'aar')
|
||||
implementation files('libs/keyman-engine.aar')
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,12 +40,15 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
|
@ -55,6 +58,6 @@ dependencies {
|
|||
implementation 'androidx.appcompat:appcompat:1.7.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
||||
implementation 'com.google.android.material:material:1.12.0'
|
||||
api (name:'keyman-engine', ext:'aar')
|
||||
implementation files('libs/keyman-engine.aar')
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,6 +74,12 @@ android {
|
|||
disable 'MissingTranslation'
|
||||
lintConfig file("lint.xml")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// how to configure the sentry android gradle plugin
|
||||
|
|
@ -119,9 +125,6 @@ if (env_keys_json_file != null && file(env_keys_json_file).exists()) {
|
|||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
|
@ -131,7 +134,7 @@ dependencies {
|
|||
implementation 'androidx.appcompat:appcompat:1.7.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
||||
implementation 'com.google.android.material:material:1.12.0'
|
||||
api(name: 'keyman-engine', ext: 'aar')
|
||||
implementation files('libs/keyman-engine.aar')
|
||||
implementation 'io.sentry:sentry-android:8.19.1'
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue