mirror of https://github.com/M66B/FairEmail.git
Updated to Android Studio Flamingo
This commit is contained in:
parent
d206f7537f
commit
013cc36b5e
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="CompilerConfiguration">
|
|
||||||
<bytecodeTargetLevel target="11" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
|
@ -81,6 +81,9 @@ android {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
kotlinOptions {
|
||||||
|
jvmTarget = '1.8'
|
||||||
|
}
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
|
|
|
@ -6220,7 +6220,7 @@ class Core {
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
semaphore.release();
|
semaphore.release();
|
||||||
yield();
|
microWait();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6265,7 +6265,7 @@ class Core {
|
||||||
|
|
||||||
if (!backingoff) {
|
if (!backingoff) {
|
||||||
thread.interrupt();
|
thread.interrupt();
|
||||||
yield();
|
microWait();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6280,7 +6280,7 @@ class Core {
|
||||||
serial++;
|
serial++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void yield() {
|
private void microWait() {
|
||||||
try {
|
try {
|
||||||
// Give interrupted thread some time to acquire wake lock
|
// Give interrupted thread some time to acquire wake lock
|
||||||
Thread.sleep(YIELD_DURATION);
|
Thread.sleep(YIELD_DURATION);
|
||||||
|
|
|
@ -7,7 +7,7 @@ buildscript {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// https://developer.android.com/studio/releases/gradle-plugin
|
// https://developer.android.com/studio/releases/gradle-plugin
|
||||||
classpath 'com.android.tools.build:gradle:7.4.2'
|
classpath 'com.android.tools.build:gradle:8.0.1'
|
||||||
// https://github.com/bugsnag/bugsnag-android-gradle-plugin
|
// https://github.com/bugsnag/bugsnag-android-gradle-plugin
|
||||||
// https://mvnrepository.com/artifact/com.bugsnag/bugsnag-android-gradle-plugin
|
// https://mvnrepository.com/artifact/com.bugsnag/bugsnag-android-gradle-plugin
|
||||||
classpath "com.bugsnag:bugsnag-android-gradle-plugin:7.3.1"
|
classpath "com.bugsnag:bugsnag-android-gradle-plugin:7.3.1"
|
||||||
|
|
|
@ -3,6 +3,7 @@ apply plugin: 'com.android.library'
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
buildToolsVersion "29.0.0"
|
buildToolsVersion "29.0.0"
|
||||||
|
namespace 'com.flask.colorpicker'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
|
|
|
@ -16,3 +16,6 @@ org.gradle.warning.mode=all
|
||||||
|
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=false
|
android.enableJetifier=false
|
||||||
|
android.defaults.buildfeatures.buildconfig=true
|
||||||
|
android.nonTransitiveRClass=false
|
||||||
|
android.nonFinalResIds=false
|
||||||
|
|
|
@ -4,5 +4,5 @@ distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
#https://docs.gradle.org/current/userguide/gradle_wrapper.html
|
#https://docs.gradle.org/current/userguide/gradle_wrapper.html
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
|
||||||
#distributionSha256Sum=23e7d37e9bb4f8dabb8a3ea7fdee9dd0428b9b1a71d298aefd65b11dccea220f
|
#distributionSha256Sum=23e7d37e9bb4f8dabb8a3ea7fdee9dd0428b9b1a71d298aefd65b11dccea220f
|
||||||
|
|
|
@ -4,6 +4,7 @@ apply plugin: 'com.android.library'
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
//buildToolsVersion '27.0.3'
|
//buildToolsVersion '27.0.3'
|
||||||
|
namespace 'org.openintents.openpgp'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
versionCode 9
|
versionCode 9
|
||||||
|
@ -23,6 +24,10 @@ android {
|
||||||
debug {
|
debug {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildFeatures {
|
||||||
|
aidl true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//publish {
|
//publish {
|
||||||
|
|
Loading…
Reference in New Issue