Avoid gradle related warnings

This commit is contained in:
Juha Heinanen
2026-01-26 03:39:12 +02:00
parent 551b60d1f6
commit eb749a74f0
2 changed files with 5 additions and 35 deletions

View File

@ -4,7 +4,6 @@ plugins {
alias(libs.plugins.compose.compiler) alias(libs.plugins.compose.compiler)
alias(libs.plugins.kotlin.serialization) alias(libs.plugins.kotlin.serialization)
id("com.android.application") id("com.android.application")
id("org.jetbrains.kotlin.android")
} }
configure<ApplicationExtension> { configure<ApplicationExtension> {
@ -58,10 +57,6 @@ configure<ApplicationExtension> {
namespace = "com.tutpro.baresip" namespace = "com.tutpro.baresip"
} }
kotlin {
jvmToolchain(17)
}
composeCompiler { composeCompiler {
reportsDestination = layout.buildDirectory.dir("compose_compiler") reportsDestination = layout.buildDirectory.dir("compose_compiler")
} }

View File

@ -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.enableJetifier=false
android.nonFinalResIds=true android.nonFinalResIds=true
android.useAndroidX=true android.useAndroidX=true
kotlin.code.style=official
android.nonTransitiveRClass=true android.nonTransitiveRClass=true
android.defaults.buildfeatures.resvalues=true
android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
android.enableAppCompileTimeRClass=false
android.usesSdkInManifest.disallowed=false
android.uniquePackageNames=false android.uniquePackageNames=false
android.dependency.useConstraints=true android.dependency.useConstraints=true
android.r8.strictFullModeForKeepRules=false android.r8.strictFullModeForKeepRules=false
android.r8.optimizedResourceShrinking=false android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
android.builtInKotlin=false kotlin.code.style=official
android.newDsl=false org.gradle.jvmargs=-Xmx2G -Dfile.encoding=UTF-8