Fixed gradle warnings

master
M66B 2 months ago
parent 315d6be788
commit f05770e1b9

@ -18,13 +18,13 @@ if (rootProject.file("local.properties").exists())
android { android {
//compileSdkExtension 4 // https://developer.android.com/guide/sdk-extensions //compileSdkExtension 4 // https://developer.android.com/guide/sdk-extensions
//compileSdkPreview "VanillaIceCream" //compileSdkPreview "VanillaIceCream"
namespace 'eu.faircode.email' namespace = 'eu.faircode.email'
// https://apilevels.com/ // https://apilevels.com/
// https://developer.android.com/studio/releases#api-level-support // https://developer.android.com/studio/releases#api-level-support
defaultConfig { defaultConfig {
applicationId "eu.faircode.email" applicationId "eu.faircode.email"
compileSdk 36 compileSdk = 36
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 36 targetSdkVersion 36
//targetSdkPreview "VanillaIceCream" //targetSdkPreview "VanillaIceCream"
@ -54,7 +54,7 @@ android {
// https://developer.android.com/ndk/downloads // https://developer.android.com/ndk/downloads
// https://developer.android.com/guide/practices/page-sizes // https://developer.android.com/guide/practices/page-sizes
ndkVersion "27.2.12479018" // r27c ndkVersion = "27.2.12479018" // r27c
ndk { ndk {
// sqlite // sqlite
// https://developer.android.com/ndk/guides/abis // https://developer.android.com/ndk/guides/abis
@ -88,8 +88,8 @@ android {
lint { lint {
// https://developer.android.com/studio/write/lint // https://developer.android.com/studio/write/lint
// https://developer.android.com/reference/tools/gradle-api/8.0/com/android/build/api/dsl/LintOptions // https://developer.android.com/reference/tools/gradle-api/8.0/com/android/build/api/dsl/LintOptions
abortOnError true abortOnError = true
checkReleaseBuilds false checkReleaseBuilds = false
//checkDependencies false //checkDependencies false
disable 'MissingTranslation' disable 'MissingTranslation'
fatal 'StringFormatInvalid', 'StringFormatMatches', 'StringFormatCount' fatal 'StringFormatInvalid', 'StringFormatMatches', 'StringFormatCount'
@ -99,7 +99,7 @@ android {
compileOptions { compileOptions {
// https://developer.android.com/studio/write/java8-support#groovy // https://developer.android.com/studio/write/java8-support#groovy
// sudo update-alternatives --install /usr/bin/java java /usr/local/android-studio/jbr/bin/java 1 // sudo update-alternatives --install /usr/bin/java java /usr/local/android-studio/jbr/bin/java 1
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled = true
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
@ -109,7 +109,7 @@ android {
externalNativeBuild { externalNativeBuild {
cmake { cmake {
version "3.22.1" version = "3.22.1"
path "CMakeLists.txt" path "CMakeLists.txt"
} }
} }
@ -153,8 +153,8 @@ android {
storePassword keystoreProperties['storePassword'] storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias'] keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword'] keyPassword keystoreProperties['keyPassword']
v1SigningEnabled true v1SigningEnabled = true
v2SigningEnabled true v2SigningEnabled = true
} }
} }
} }
@ -178,7 +178,7 @@ android {
debuggable = false debuggable = false
minifyEnabled = true minifyEnabled = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release signingConfig = signingConfigs.release
buildConfigField "String", "TX_URI", "\"\"" buildConfigField "String", "TX_URI", "\"\""
buildConfigField "String", "GPA_URI", "\"\"" buildConfigField "String", "GPA_URI", "\"\""
buildConfigField "String", "INFO_URI", "\"\"" buildConfigField "String", "INFO_URI", "\"\""
@ -490,7 +490,7 @@ tasks.register('upload', Exec) {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { url "https://jitpack.io" } maven { url = "https://jitpack.io" }
//maven { url "https://oss.sonatype.org/content/repositories/snapshots" } //maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
//maven { url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/" } //maven { url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/" }
} }

@ -2,7 +2,7 @@ buildscript {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { url "https://jitpack.io" } maven { url = "https://jitpack.io" }
} }
dependencies { dependencies {
@ -21,7 +21,7 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { url "https://jitpack.io" } maven { url = "https://jitpack.io" }
} }
} }

@ -1,10 +1,10 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
namespace 'com.flask.colorpicker' namespace = 'com.flask.colorpicker'
defaultConfig { defaultConfig {
compileSdk 34 compileSdk = 34
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 34 targetSdkVersion 34
versionCode 17 versionCode 17

@ -2,10 +2,10 @@ apply plugin: 'com.android.library'
//apply plugin: 'bintray-release' // must be applied after your artifact generating plugin (eg. java / com.android.library) //apply plugin: 'bintray-release' // must be applied after your artifact generating plugin (eg. java / com.android.library)
android { android {
namespace 'org.openintents.openpgp' namespace = 'org.openintents.openpgp'
defaultConfig { defaultConfig {
compileSdk 34 compileSdk = 34
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 34 targetSdkVersion 34
versionCode 9 versionCode 9
@ -14,7 +14,7 @@ android {
// Do not abort build if lint finds errors // Do not abort build if lint finds errors
lintOptions { lintOptions {
abortOnError false abortOnError = false
} }
buildTypes { buildTypes {
@ -25,7 +25,7 @@ android {
} }
buildFeatures { buildFeatures {
aidl true aidl = true
} }
} }

Loading…
Cancel
Save