mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-01-28 16:17:03 +00:00
Upgrade Gradle and Android Gradle Plugin (#225)
This commit is contained in:
parent
5a641be96f
commit
fc120053f2
4 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@ Run `flutter doctor` and fix everything it complains before proceeding
|
||||||
|
|
||||||
- Copy `env.sh.example` and set it up for your machine
|
- Copy `env.sh.example` and set it up for your machine
|
||||||
- Ensure you have run `gomobile init`
|
- Ensure you have run `gomobile init`
|
||||||
- In Android Studio, make sure you have the current ndk installed by going to Tools -> SDK Manager, go to the SDK Tools tab, check the `Show package details` box, expand the NDK section and select `26.1.10909125` version.
|
- In Android Studio, make sure you have the current ndk installed by going to Tools -> SDK Manager, go to the SDK Tools tab, check the `Show package details` box, expand the NDK section and select `27.0.12077973` version.
|
||||||
- Ensure you have downloaded an ndk via android studio, this is likely not the default one and you need to check the
|
- Ensure you have downloaded an ndk via android studio, this is likely not the default one and you need to check the
|
||||||
`Show package details` box to select the correct version. The correct version comes from the error when you try and compile
|
`Show package details` box to select the correct version. The correct version comes from the error when you try and compile
|
||||||
- Make sure you have `gem` installed with `sudo gem install`
|
- Make sure you have `gem` installed with `sudo gem install`
|
||||||
|
|
|
@ -28,8 +28,8 @@ android {
|
||||||
|
|
||||||
compileSdkVersion 34
|
compileSdkVersion 34
|
||||||
|
|
||||||
// default ndk version for AGP 8.5: https://developer.android.com/build/releases/past-releases/agp-8-5-0-release-notes
|
// default ndk version for AGP 8.7: https://developer.android.com/build/releases/past-releases/agp-8-7-0-release-notes
|
||||||
ndkVersion "26.1.10909125"
|
ndkVersion "27.0.12077973"
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main.java.srcDirs += 'src/main/kotlin'
|
main.java.srcDirs += 'src/main/kotlin'
|
||||||
|
|
|
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
|
||||||
|
|
|
@ -19,7 +19,7 @@ pluginManagement {
|
||||||
plugins {
|
plugins {
|
||||||
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
|
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
|
||||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||||
id "com.android.application" version '8.6.1' apply false
|
id "com.android.application" version '8.8.0' apply false
|
||||||
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
|
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue