update android target sdk 35

This commit is contained in:
2025-08-29 21:24:22 +02:00
parent b9cfccee6f
commit 94d9d179c1
14 changed files with 916 additions and 15 deletions

View File

@@ -15,13 +15,13 @@ repositories {
}
android {
compileSdkVersion 33
compileSdkVersion 35
defaultConfig {
applicationId "ch.pizzalemon.android"
minSdkVersion 21
targetSdkVersion 33
versionCode 28// play store'daki version --> canlı: 0 - dahili test: 17
versionName "2.08" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
targetSdkVersion 35
versionCode 29// play store'daki version --> canlı: 0 - dahili test: 17
versionName "2.09" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
multiDexEnabled true
}
@@ -35,6 +35,7 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'ch.pizzalemon.android'
}
dependencies {
@@ -76,7 +77,6 @@ dependencies {
implementation 'io.github.inflationx:calligraphy3:3.1.1'
implementation 'io.github.inflationx:viewpump:2.0.3'
implementation 'com.wdullaer:materialdatetimepicker:4.2.3'
implementation 'q.rorbin:badgeview:1.1.3'
implementation 'org.jsoup:jsoup:1.14.2'
implementation 'me.relex:circleindicator:2.1.6'
implementation 'com.braintreepayments.api:braintree:3.20.1'
@@ -84,3 +84,14 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
}
// Javac'ı ayrı JVM ile koştur ve iç modülleri aç
tasks.withType(JavaCompile).configureEach {
options.fork = true
options.forkOptions.jvmArgs += [
'--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED'
]
}