Skip to content

Commit

Permalink
Support newer Gradle versions (maplibre#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabi755 authored and remax21 committed Sep 10, 2024
1 parent 808c6f2 commit ad5edc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## 0.18.1
## UNRELEASED

- Loosen the dependency constraint of [js](https://pub.dev/packages/js) to allow `0.6.x` and `0.7.x`.
* Add support for Gradle/AGP namespace configuration
* Bump Android `compileSdkVersion` to 34
* Loosen the dependency constraint of [js](https://pub.dev/packages/js) to allow `0.6.x` and `0.7.x`.

## 0.18.0
### Breaking Change:
Expand Down
12 changes: 7 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'

android {
if (project.android.hasProperty("namespace")) {
namespace 'com.mapbox.mapboxgl'
}

compileSdkVersion 31
compileSdkVersion 34
ndkVersion "20.1.5948944"

defaultConfig {
Expand All @@ -39,16 +42,15 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
dependencies {
implementation 'org.maplibre.gl:android-sdk:10.2.0'
implementation 'org.maplibre.gl:android-plugin-annotation-v9:2.0.0'
implementation 'org.maplibre.gl:android-plugin-offline-v9:2.0.0'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}

dependencies {
Expand Down

0 comments on commit ad5edc0

Please sign in to comment.