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
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
|
|
|
@ -6220,7 +6220,7 @@ class Core {
|
|||
return false;
|
||||
|
||||
semaphore.release();
|
||||
yield();
|
||||
microWait();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -6265,7 +6265,7 @@ class Core {
|
|||
|
||||
if (!backingoff) {
|
||||
thread.interrupt();
|
||||
yield();
|
||||
microWait();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6280,7 +6280,7 @@ class Core {
|
|||
serial++;
|
||||
}
|
||||
|
||||
private void yield() {
|
||||
private void microWait() {
|
||||
try {
|
||||
// Give interrupted thread some time to acquire wake lock
|
||||
Thread.sleep(YIELD_DURATION);
|
||||
|
|
|
@ -7,7 +7,7 @@ buildscript {
|
|||
|
||||
dependencies {
|
||||
// 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://mvnrepository.com/artifact/com.bugsnag/bugsnag-android-gradle-plugin
|
||||
classpath "com.bugsnag:bugsnag-android-gradle-plugin:7.3.1"
|
||||
|
|
|
@ -3,6 +3,7 @@ apply plugin: 'com.android.library'
|
|||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion "29.0.0"
|
||||
namespace 'com.flask.colorpicker'
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 14
|
||||
|
|
|
@ -16,3 +16,6 @@ org.gradle.warning.mode=all
|
|||
|
||||
android.useAndroidX=true
|
||||
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
|
||||
zipStorePath=wrapper/dists
|
||||
#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
|
||||
|
|
|
@ -4,6 +4,7 @@ apply plugin: 'com.android.library'
|
|||
android {
|
||||
compileSdkVersion 29
|
||||
//buildToolsVersion '27.0.3'
|
||||
namespace 'org.openintents.openpgp'
|
||||
|
||||
defaultConfig {
|
||||
versionCode 9
|
||||
|
@ -23,6 +24,10 @@ android {
|
|||
debug {
|
||||
}
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
aidl true
|
||||
}
|
||||
}
|
||||
|
||||
//publish {
|
||||
|
|
Loading…
Reference in New Issue