Skip to content

Commit c5d7060

Browse files
build(deps): bump the dependencies group across 2 directories with 6 updates (#352)
Bumps the dependencies group with 4 updates in the /android directory: com.android.tools.build:gradle, org.jlleitschuh.gradle:ktlint-gradle, [org.maplibre.gl:android-sdk](https://github.com/maplibre/maplibre-native) and [org.mockito:mockito-core](https://github.com/mockito/mockito). Bumps the dependencies group with 2 updates in the /example/android directory: org.jetbrains.kotlin.android and org.jlleitschuh.gradle.ktlint. Updates `com.android.tools.build:gradle` from 8.12.0 to 8.13.0 Updates `org.jlleitschuh.gradle:ktlint-gradle` from 13.0.+ to 13.1.0 Updates `org.maplibre.gl:android-sdk` from 11.13.1 to 11.13.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-native/releases">org.maplibre.gl:android-sdk's releases</a>.</em></p> <blockquote> <h2>android-v11.13.5</h2> <h3>✨ Features and improvements</h3> <ul> <li>Apply just the changes from the MLT branch which aren't really part of that work (<a href="https://redirect.github.com/maplibre/maplibre-native/pull/3793">#3793</a>).</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li> <p>Add weak pointer handling (<a href="https://redirect.github.com/maplibre/maplibre-native/pull/3763">#3763</a>).</p> </li> <li> <p>Fix onSprite call on bad references (<a href="https://redirect.github.com/maplibre/maplibre-native/pull/3805">#3805</a>).</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/maplibre/maplibre-native/commit/9e2084d3a7707bfdbb4bafdeb1bd067578b31585"><code>9e2084d</code></a> Re-run Android release (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3815">#3815</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/73c51706fa6f0711d969968af0c93e3ae6668614"><code>73c5170</code></a> Pass draft parameter in android-release for immutable release (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3814">#3814</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/9b7717c4a8261177c4c00c3c047917936616f661"><code>9b7717c</code></a> Android Release Workflow Fixes (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3813">#3813</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/60ac709e95ec67925fe4dfcecd4f0d18e4e4e7cf"><code>60ac709</code></a> Use Sentry for instrumentation tests (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3808">#3808</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/5af61373b5baf37bbab4ff0da4ddece9ee635c7c"><code>5af6137</code></a> Use <code>bazel_dep</code> instead of vendored Google Test with Bazel (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3801">#3801</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/49741f5bd0a23350a7deb16fff76d5ff3319339a"><code>49741f5</code></a> Swap out unmaintained action Android release workflow (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3811">#3811</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/c96b097d26e447086924a84a4fd85d29669d8a02"><code>c96b097</code></a> Set up auto-labeler for PRs (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3810">#3810</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/8a697710d83cb6b63b192ddd008c94416ab747e7"><code>8a69771</code></a> chore(deps): update bazel (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3803">#3803</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/e363d2be9bf679eeac80c6aafb1fcb0826a64f37"><code>e363d2b</code></a> Bump the github-actions group with 5 updates (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3804">#3804</a>)</li> <li><a href="https://github.com/maplibre/maplibre-native/commit/914673a4b29d2033e349bb97a71eb618a92cc843"><code>914673a</code></a> remove fetch-depth: 0 from workflows (<a href="https://redirect.github.com/maplibre/maplibre-native/issues/3742">#3742</a>)</li> <li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-native/compare/android-v11.13.1...android-v11.13.5">compare view</a></li> </ul> </details> <br /> Updates `org.mockito:mockito-core` from 5.18.0 to 5.20.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">org.mockito:mockito-core's releases</a>.</em></p> <blockquote> <h2>v5.20.0</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>5.20.0</h4> <ul> <li>2025-09-20 - <a href="https://github.com/mockito/mockito/compare/v5.19.0...v5.20.0">11 commit(s)</a> by Adrian-Kim, Giulio Longfils, Rafael Winterhalter, dependabot[bot]</li> <li>Bump org.assertj:assertj-core from 3.27.4 to 3.27.5 [(<a href="https://redirect.github.com/mockito/mockito/issues/3730">#3730</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3730">mockito/mockito#3730</a>)</li> <li>Introducing the Ability to Mock Construction of Generic Types (<a href="https://redirect.github.com/mockito/mockito/issues/2401">#2401</a>) [(<a href="https://redirect.github.com/mockito/mockito/issues/3729">#3729</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3729">mockito/mockito#3729</a>)</li> <li>Bump com.gradle.develocity from 4.1.1 to 4.2 [(<a href="https://redirect.github.com/mockito/mockito/issues/3726">#3726</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3726">mockito/mockito#3726</a>)</li> <li>Bump graalvm/setup-graalvm from 1.3.6 to 1.3.7 [(<a href="https://redirect.github.com/mockito/mockito/issues/3725">#3725</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3725">mockito/mockito#3725</a>)</li> <li>Bump org.eclipse.platform:org.eclipse.osgi from 3.23.100 to 3.23.200 [(<a href="https://redirect.github.com/mockito/mockito/issues/3720">#3720</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3720">mockito/mockito#3720</a>)</li> <li>Bump graalvm/setup-graalvm from 1.3.5 to 1.3.6 [(<a href="https://redirect.github.com/mockito/mockito/issues/3719">#3719</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3719">mockito/mockito#3719</a>)</li> <li>Bump actions/setup-java from 4 to 5 [(<a href="https://redirect.github.com/mockito/mockito/issues/3715">#3715</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3715">mockito/mockito#3715</a>)</li> <li>Bump com.gradle.develocity from 4.1 to 4.1.1 [(<a href="https://redirect.github.com/mockito/mockito/issues/3713">#3713</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3713">mockito/mockito#3713</a>)</li> <li>Bump bytebuddy from 1.17.6 to 1.17.7 [(<a href="https://redirect.github.com/mockito/mockito/issues/3712">#3712</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3712">mockito/mockito#3712</a>)</li> <li>test: Use Assume.assumeThat for SequencedCollection tests [(<a href="https://redirect.github.com/mockito/mockito/issues/3711">#3711</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3711">mockito/mockito#3711</a>)</li> <li>Fix <a href="https://redirect.github.com/mockito/mockito/issues/3709">#3709</a> [(<a href="https://redirect.github.com/mockito/mockito/issues/3710">#3710</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3710">mockito/mockito#3710</a>)</li> <li>feat: Add support for JDK21 Sequenced Collections. [(<a href="https://redirect.github.com/mockito/mockito/issues/3708">#3708</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3708">mockito/mockito#3708</a>)</li> <li>Introducing the Ability to Mock Construction of Generic Types [(<a href="https://redirect.github.com/mockito/mockito/issues/2401">#2401</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2401">mockito/mockito#2401</a>)</li> </ul> <h2>v5.19.0</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>5.19.0</h4> <ul> <li>2025-08-15 - <a href="https://github.com/mockito/mockito/compare/v5.18.0...v5.19.0">37 commit(s)</a> by Adrian-Kim, Tim van der Lippe, Tran Ngoc Nhan, dependabot[bot], juyeop</li> <li>feat: Add support for JDK21 Sequenced Collections. [(<a href="https://redirect.github.com/mockito/mockito/issues/3708">#3708</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3708">mockito/mockito#3708</a>)</li> <li>Bump actions/checkout from 4 to 5 [(<a href="https://redirect.github.com/mockito/mockito/issues/3707">#3707</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3707">mockito/mockito#3707</a>)</li> <li>build: Allow overriding 'Created-By' for reproducible builds [(<a href="https://redirect.github.com/mockito/mockito/issues/3704">#3704</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3704">mockito/mockito#3704</a>)</li> <li>Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 [(<a href="https://redirect.github.com/mockito/mockito/issues/3703">#3703</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3703">mockito/mockito#3703</a>)</li> <li>Bump androidx.test:runner from 1.6.2 to 1.7.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/3697">#3697</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3697">mockito/mockito#3697</a>)</li> <li>Bump org.junit.platform:junit-platform-launcher from 1.13.3 to 1.13.4 [(<a href="https://redirect.github.com/mockito/mockito/issues/3694">#3694</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3694">mockito/mockito#3694</a>)</li> <li>Bump com.diffplug.spotless:spotless-plugin-gradle from 7.1.0 to 7.2.1 [(<a href="https://redirect.github.com/mockito/mockito/issues/3693">#3693</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3693">mockito/mockito#3693</a>)</li> <li>Bump junit-jupiter from 5.13.3 to 5.13.4 [(<a href="https://redirect.github.com/mockito/mockito/issues/3691">#3691</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3691">mockito/mockito#3691</a>)</li> <li>Bump com.gradle.develocity from 4.0.2 to 4.1 [(<a href="https://redirect.github.com/mockito/mockito/issues/3689">#3689</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3689">mockito/mockito#3689</a>)</li> <li>Bump com.google.googlejavaformat:google-java-format from 1.27.0 to 1.28.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/3688">#3688</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3688">mockito/mockito#3688</a>)</li> <li>Bump com.google.googlejavaformat:google-java-format from 1.25.2 to 1.27.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/3686">#3686</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3686">mockito/mockito#3686</a>)</li> <li>Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.4 to 7.1.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/3685">#3685</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3685">mockito/mockito#3685</a>)</li> <li>Bump junit-jupiter from 5.13.2 to 5.13.3 [(<a href="https://redirect.github.com/mockito/mockito/issues/3684">#3684</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3684">mockito/mockito#3684</a>)</li> <li>Bump org.shipkit:shipkit-auto-version from 2.1.0 to 2.1.2 [(<a href="https://redirect.github.com/mockito/mockito/issues/3683">#3683</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3683">mockito/mockito#3683</a>)</li> <li>Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.2 to 7.0.4 [(<a href="https://redirect.github.com/mockito/mockito/issues/3682">#3682</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3682">mockito/mockito#3682</a>)</li> <li>Only run release after both Java and Android tests have finished [(<a href="https://redirect.github.com/mockito/mockito/issues/3681">#3681</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3681">mockito/mockito#3681</a>)</li> <li>Bump org.junit.platform:junit-platform-launcher from 1.12.2 to 1.13.3 [(<a href="https://redirect.github.com/mockito/mockito/issues/3680">#3680</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3680">mockito/mockito#3680</a>)</li> <li>Bump org.codehaus.groovy:groovy from 3.0.24 to 3.0.25 [(<a href="https://redirect.github.com/mockito/mockito/issues/3679">#3679</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3679">mockito/mockito#3679</a>)</li> <li>Bump org.eclipse.platform:org.eclipse.osgi from 3.23.0 to 3.23.100 [(<a href="https://redirect.github.com/mockito/mockito/issues/3678">#3678</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3678">mockito/mockito#3678</a>)</li> <li>Can no longer publish snapshot releases [(<a href="https://redirect.github.com/mockito/mockito/issues/3677">#3677</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/3677">mockito/mockito#3677</a>)</li> <li>Update Gradle to 8.14.2 [(<a href="https://redirect.github.com/mockito/mockito/issues/3676">#3676</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3676">mockito/mockito#3676</a>)</li> <li>Bump errorprone from 2.23.0 to 2.39.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/3674">#3674</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3674">mockito/mockito#3674</a>)</li> <li>Correct Junit docs link [(<a href="https://redirect.github.com/mockito/mockito/issues/3672">#3672</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3672">mockito/mockito#3672</a>)</li> <li>Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.3.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/3670">#3670</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3670">mockito/mockito#3670</a>)</li> <li>Bump junit-jupiter from 5.13.1 to 5.13.2 [(<a href="https://redirect.github.com/mockito/mockito/issues/3669">#3669</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3669">mockito/mockito#3669</a>)</li> <li>Bump bytebuddy from 1.17.5 to 1.17.6 [(<a href="https://redirect.github.com/mockito/mockito/issues/3668">#3668</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/3668">mockito/mockito#3668</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mockito/mockito/commit/3a1a19ee40f1234048880393343405046fc3fa60"><code>3a1a19e</code></a> Add support for generic types in <code>MockedConstruction</code> and <code>MockedStatic</code> (<a href="https://redirect.github.com/mockito/mockito/issues/3729">#3729</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/f3c957a74e39a78c31b7fd2e48bf9f4c3a13112c"><code>f3c957a</code></a> Bump org.assertj:assertj-core from 3.27.4 to 3.27.5 (<a href="https://redirect.github.com/mockito/mockito/issues/3730">#3730</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/3cfbd427182ef7c9ae718873ffb85b5ed4f04758"><code>3cfbd42</code></a> Bump graalvm/setup-graalvm from 1.3.6 to 1.3.7 (<a href="https://redirect.github.com/mockito/mockito/issues/3725">#3725</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/6f9a04bbd7c7894a38b34658456691823866112c"><code>6f9a04b</code></a> Bump com.gradle.develocity from 4.1.1 to 4.2 (<a href="https://redirect.github.com/mockito/mockito/issues/3726">#3726</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/c75dfb886cbfbed9c0d5d36681a103205a264a8c"><code>c75dfb8</code></a> Bump org.eclipse.platform:org.eclipse.osgi from 3.23.100 to 3.23.200 (<a href="https://redirect.github.com/mockito/mockito/issues/3720">#3720</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/54474fa1dd9455913181567536ca1d60f00880f5"><code>54474fa</code></a> Bump graalvm/setup-graalvm from 1.3.5 to 1.3.6 (<a href="https://redirect.github.com/mockito/mockito/issues/3719">#3719</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/bc06f214c0c9505a1887e4422a449c6304993ff5"><code>bc06f21</code></a> Use Assume.assumeThat for SequencedCollection tests (<a href="https://redirect.github.com/mockito/mockito/issues/3711">#3711</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/a10aed01a455bf1f45bb25dc1bb887fd171cffee"><code>a10aed0</code></a> Bump actions/setup-java from 4 to 5 (<a href="https://redirect.github.com/mockito/mockito/issues/3715">#3715</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/37bb3e5062bbedda96dc3810c5e3d4f5c0c644e0"><code>37bb3e5</code></a> Fix metadata generation on GraalVM (<a href="https://redirect.github.com/mockito/mockito/issues/3710">#3710</a>)</li> <li><a href="https://github.com/mockito/mockito/commit/ef2fd6f8e12df2db9b1c3aef067c33f6fe2aba95"><code>ef2fd6f</code></a> Bump com.gradle.develocity from 4.1 to 4.1.1 (<a href="https://redirect.github.com/mockito/mockito/issues/3713">#3713</a>)</li> <li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v5.18.0...v5.20.0">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlin.android` from 2.1.0 to 2.2.20 Updates `org.jlleitschuh.gradle.ktlint` from 13.0.+ to 13.1.0 <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | com.android.tools.build:gradle | [>= 8.7.a, < 8.8] | </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joscha <[email protected]>
1 parent 7d6c5f7 commit c5d7060

File tree

5 files changed

+123
-16
lines changed

5 files changed

+123
-16
lines changed

.github/workflows/ci.yml

Lines changed: 106 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
fail-fast: false
8282
matrix:
83-
sdk: [ '3.35.0', '' ]
83+
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
8484
timeout-minutes: 30
8585
steps:
8686
- uses: actions/checkout@v5
@@ -187,7 +187,7 @@ jobs:
187187
strategy:
188188
fail-fast: false
189189
matrix:
190-
sdk: [ '3.35.0', '' ]
190+
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
191191
steps:
192192
- uses: actions/checkout@v5
193193
- uses: subosito/flutter-action@v2
@@ -219,7 +219,7 @@ jobs:
219219
strategy:
220220
fail-fast: false
221221
matrix:
222-
sdk: [ '3.35.0', '' ]
222+
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
223223
steps:
224224
- uses: actions/checkout@v5
225225
- uses: subosito/flutter-action@v2
@@ -246,7 +246,7 @@ jobs:
246246
strategy:
247247
fail-fast: false
248248
matrix:
249-
sdk: [ '3.35.0', '' ]
249+
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
250250
steps:
251251
- uses: actions/checkout@v5
252252
- uses: subosito/flutter-action@v2
@@ -266,7 +266,7 @@ jobs:
266266
strategy:
267267
fail-fast: false
268268
matrix:
269-
sdk: [ '3.35.0', '' ]
269+
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
270270
steps:
271271
- uses: actions/checkout@v5
272272
- uses: subosito/flutter-action@v2
@@ -277,3 +277,104 @@ jobs:
277277
run: dart pub get
278278
- name: Build web
279279
run: flutter build web --wasm
280+
codegen-pigeon:
281+
name: "[Pigeon] Check codegen"
282+
runs-on: ubuntu-latest
283+
steps:
284+
- uses: actions/checkout@v5
285+
- uses: subosito/flutter-action@v2
286+
with:
287+
cache: true
288+
- name: "Get Flutter dependencies"
289+
working-directory: example
290+
run: dart pub get
291+
- name: Run pigeon
292+
run: ./pigeons/run_code_gen.sh
293+
- name: Check changes
294+
run: |
295+
if [[ -n "$(git status --porcelain)" ]]; then
296+
echo "❌ Uncommitted changes detected in files:"
297+
git diff --name-only
298+
exit 1
299+
else
300+
echo "✅ No uncommitted changes"
301+
fi
302+
codegen-android:
303+
name: "[Android] Check codegen"
304+
runs-on: ubuntu-latest
305+
steps:
306+
- uses: actions/checkout@v5
307+
- uses: subosito/flutter-action@v2
308+
with:
309+
cache: true
310+
- uses: actions/setup-java@v5
311+
with:
312+
java-version: '21'
313+
distribution: 'temurin'
314+
cache: 'gradle'
315+
- name: "Get Flutter dependencies"
316+
working-directory: example
317+
run: dart pub get
318+
- name: Build example APK
319+
working-directory: example
320+
run: flutter build apk
321+
- name: Run jnigen
322+
run: ./run_jnigen.sh
323+
- name: Format code
324+
run: dart format lib/src/platform/android/jni
325+
- name: Check changes
326+
run: |
327+
if [[ -n "$(git status --porcelain)" ]]; then
328+
echo "❌ Uncommitted changes detected in files:"
329+
git diff
330+
exit 1
331+
else
332+
echo "✅ No uncommitted changes"
333+
fi
334+
# codegen-ios:
335+
# name: "[iOS] Check codegen"
336+
# runs-on: macos-latest
337+
# timeout-minutes: 30
338+
# strategy:
339+
# fail-fast: false
340+
# matrix:
341+
# sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
342+
# steps:
343+
# - uses: actions/checkout@v5
344+
# - name: Clone maplibre-native with shallow submodules
345+
# run: |
346+
# git clone \
347+
# --depth 1 \
348+
# --filter=blob:none \
349+
# --recurse-submodules \
350+
# --shallow-submodules \
351+
# --jobs 8 \
352+
# https://github.com/maplibre/maplibre-native ../maplibre-native
353+
# - uses: subosito/flutter-action@v2
354+
# with:
355+
# flutter-version: ${{ matrix.sdk }}
356+
# cache: true
357+
# - run: flutter config --enable-swift-package-manager
358+
# - name: "Get Flutter dependencies"
359+
# working-directory: maplibre_ios/example
360+
# run: dart pub get
361+
# - name: "Build iOS package"
362+
# working-directory: maplibre_ios/example
363+
# run: flutter build ios --release --no-codesign
364+
# - name: Build MapLibre Native
365+
# working-directory: maplibre_ios/ios
366+
# run: ./build_maplibre.sh
367+
# - name: Prepare ffigen
368+
# run: echo TODO modify swift dependencies
369+
# - name: Run ffigen
370+
# working-directory: maplibre_ios
371+
# run: dart run ffigen
372+
# - name: Check changes
373+
# run: |
374+
# if [[ -n "$(git status --porcelain)" ]]; then
375+
# echo "❌ Uncommitted changes detected in files:"
376+
# git diff --name-only
377+
# exit 1
378+
# else
379+
# echo "✅ No uncommitted changes"
380+
# fi

android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ group = "com.github.josxha.maplibre"
22
version = "1.0-SNAPSHOT"
33

44
buildscript {
5-
ext.kotlin_version = "2.1.0"
5+
ext.kotlin_version = "2.1.20"
66
repositories {
77
google()
88
mavenCentral()
@@ -12,10 +12,10 @@ buildscript {
1212
}
1313

1414
dependencies {
15-
classpath("com.android.tools.build:gradle:8.12.0")
15+
classpath("com.android.tools.build:gradle:8.13.0")
1616
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
1717
// noinspection GradleDynamicVersion
18-
classpath("org.jlleitschuh.gradle:ktlint-gradle:13.0.+")
18+
classpath("org.jlleitschuh.gradle:ktlint-gradle:13.1.+")
1919
}
2020
}
2121

@@ -67,9 +67,9 @@ android {
6767

6868
dependencies {
6969
// jnigen picks up api dependencies
70-
api 'org.maplibre.gl:android-sdk:11.13.1'
70+
api 'org.maplibre.gl:android-sdk:11.13.+'
7171
testImplementation "org.jetbrains.kotlin:kotlin-test"
72-
testImplementation "org.mockito:mockito-core:5.18.0"
72+
testImplementation "org.mockito:mockito-core:5.20.+"
7373
}
7474

7575
testOptions {

example/android/settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ pluginManagement {
2121
plugins {
2222
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
2323
id("com.android.application") version "8.12.0" apply false
24-
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
25-
id("org.jlleitschuh.gradle.ktlint") version "13.0.+" apply false
24+
id("org.jetbrains.kotlin.android") version "2.1.20" apply false
25+
id("org.jlleitschuh.gradle.ktlint") version "13.1.+" apply false
2626
}
2727

2828
include(":app")

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dev_dependencies:
4747
sdk: flutter
4848
jnigen: 0.14.2
4949
mocktail: ^1.0.4
50-
pigeon: ^26.0.0
50+
pigeon: 26.0.1
5151
very_good_analysis: ^10.0.0
5252

5353
screenshots:

run_jnigen.ps1

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
dart run jnigen --config jnigen.yaml
22

33
# https://github.com/dart-lang/native/issues/2493
4-
$content = Get-Content -Path "lib/src/platform/android/jni/org/maplibre/android/camera/CameraUpdateFactory.dart"
5-
$content = $content -replace "(?ms)^abstract base mixin class \`$CameraUpdateFactory\`$ZoomUpdate\`$Type \{.*?\}$\r?\n",""
6-
$content = $content -replace "(?ms)^final class _\`$CameraUpdateFactory\`$ZoomUpdate\`$Type.*?\}$\r?\n",""
4+
# Read whole file as single string
5+
$content = Get-Content -Path "lib/src/platform/android/jni/org/maplibre/android/camera/CameraUpdateFactory.dart" -Raw
6+
# Remove abstract base mixin class block
7+
$content = $content -replace '(?s)abstract base mixin class \$CameraUpdateFactory\$ZoomUpdate\$Type\s*\{.*?\}\s*', ''
8+
# Remove final class block
9+
$content = $content -replace '(?s)final class _\$CameraUpdateFactory\$ZoomUpdate\$Type.*?\{.*?\}\s*', ''
10+
# Remove trailing newline (and only keep one final newline if desired)
11+
$content = $content.TrimEnd("`r", "`n")
12+
# Write file back
713
Set-Content -Path "lib/src/platform/android/jni/org/maplibre/android/camera/CameraUpdateFactory.dart" -Value $content

0 commit comments

Comments
 (0)