Updated to Android Studio Flamingo

This commit is contained in:
M66B 2023-05-04 07:26:03 +02:00
parent d206f7537f
commit 013cc36b5e
8 changed files with 17 additions and 11 deletions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
</component>
</project>

View File

@ -81,6 +81,9 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
externalNativeBuild {
cmake {

View File

@ -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);

View File

@ -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"

View File

@ -3,6 +3,7 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
namespace 'com.flask.colorpicker'
defaultConfig {
minSdkVersion 14

View File

@ -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

View File

@ -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

View File

@ -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 {