From eb749a74f02f4bd088686d84793bf51dd1f40947 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Mon, 26 Jan 2026 03:39:12 +0200 Subject: [PATCH] Avoid gradle related warnings --- app/build.gradle.kts | 5 ----- gradle.properties | 35 +++++------------------------------ 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ff004466..24715bb2 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -4,7 +4,6 @@ plugins { alias(libs.plugins.compose.compiler) alias(libs.plugins.kotlin.serialization) id("com.android.application") - id("org.jetbrains.kotlin.android") } configure { @@ -58,10 +57,6 @@ configure { namespace = "com.tutpro.baresip" } -kotlin { - jvmToolchain(17) -} - composeCompiler { reportsDestination = layout.buildDirectory.dir("compose_compiler") } diff --git a/gradle.properties b/gradle.properties index da7f5b4d..e617fa6d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,37 +1,12 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx10248m -XX:MaxPermSize=256m -# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -org.gradle.jvmargs=-Xmx2G -Dfile.encoding=UTF-8 - -# Default value: summary -# org.gradle.warning.mode=all - -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true android.enableJetifier=false android.nonFinalResIds=true android.useAndroidX=true -kotlin.code.style=official android.nonTransitiveRClass=true -android.defaults.buildfeatures.resvalues=true -android.sdk.defaultTargetSdkToCompileSdkIfUnset=false -android.enableAppCompileTimeRClass=false -android.usesSdkInManifest.disallowed=false android.uniquePackageNames=false android.dependency.useConstraints=true android.r8.strictFullModeForKeepRules=false -android.r8.optimizedResourceShrinking=false -android.builtInKotlin=false -android.newDsl=false +android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false +kotlin.code.style=official +org.gradle.jvmargs=-Xmx2G -Dfile.encoding=UTF-8 + +