Skip to content

Commit d386949

Browse files
Merge pull request #193 from geoadmin/feature/target-36-16KB
Upgrade to target 36 for Android, support flexible page sizes
2 parents deaaa6e + 13cf595 commit d386949

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: ios
22

33
env:
4-
XCODE_VERSION: 'Xcode_16.3'
4+
XCODE_VERSION: 'Xcode_16.4'
55

66
on:
77
pull_request:
@@ -17,4 +17,4 @@ jobs:
1717
- name: Switch to Xcode ${{ env.XCODE_VERSION }}
1818
run: sudo xcode-select --switch /Applications/${{ env.XCODE_VERSION }}.app
1919
- name: Build
20-
run: xcodebuild -scheme SwisstopoMapSDK -destination 'platform=iOS Simulator,OS=18.0,name=iPhone 16 Pro'
20+
run: xcodebuild -scheme SwisstopoMapSDK -destination 'platform=iOS Simulator,OS=18.6,name=iPhone 16 Pro'

android/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,19 @@ apply plugin: 'com.vanniktech.maven.publish'
6262
android {
6363
namespace "ch.admin.geo.openswissmaps"
6464

65-
compileSdkVersion 35
65+
compileSdkVersion 36
6666

6767
defaultConfig {
6868
minSdkVersion 26
69-
targetSdkVersion 35
69+
targetSdkVersion 36
7070
versionCode Integer.parseInt(VERSION_CODE)
7171
versionName VERSION_NAME
7272

7373
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
7474
consumerProguardFiles 'consumer-rules.pro'
7575
externalNativeBuild {
7676
cmake {
77-
arguments "-DANDROID_STL=c++_shared"
77+
arguments "-DANDROID_STL=c++_shared", "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
7878
cppFlags "-std=c++17 -frtti -fexceptions -O2"
7979
}
8080
}
@@ -184,16 +184,16 @@ dependencies {
184184
implementation fileTree(dir: 'libs', include: ['*.jar'])
185185
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
186186
implementation "androidx.annotation:annotation:1.9.1"
187-
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.9.1"
187+
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.9.2"
188188
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2"
189189

190190
api "io.openmobilemaps:mapscore:3.4.1"
191191
api "io.openmobilemaps:layer-gps:3.4.0"
192192
implementation "ch.ubique.android:djinni-support-lib:1.1.1"
193193

194194
testImplementation 'junit:junit:4.13.2'
195-
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
196-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
195+
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
196+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
197197
}
198198

199199
clean.doLast {

0 commit comments

Comments
 (0)