Не подтверждена Коммит 719fde0e создал по автору Simon Binder's avatar Simon Binder
Просмотр файлов

Fix sqlcipher on Android with Flutter 3.24



Squashed commit of the following:

commit dfaff6affbcbe01c5add6d12bee2522e16a393c9
Author: The one with the braid <info@braid.business>
Date:   Thu Aug 8 13:53:05 2024 +0200

    chore: update Gradle configuration

    - match minimum SDK version to Flutter's minimum
    - migrate compileSdkVersion to compileSdk
    - update compileSdk to Flutter's target

Signed-off-by: default avatarThe one with the braid <info@braid.business>
владелец 07ef17b2
......@@ -26,7 +26,17 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 31
compileSdkVersion 34
namespace "com.example.sqlcipher_flutter"
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
kotlinOptions {
jvmTarget = "1.8"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
......
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '2.0.10'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
classpath 'com.android.tools.build:gradle:8.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
......
......@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
## 0.6.4
- Fix compilation on Android by upgrading `compileSdk` version.
## 0.6.3
- Enable extension loading on Windows and Linux to match the compile options
......
......@@ -8,7 +8,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.5.1'
}
}
......@@ -22,15 +22,14 @@ rootProject.allprojects {
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'eu.simonbinder.sqlite3_flutter_libs'
}
defaultConfig {
minSdkVersion 16
minSdkVersion 21
compileSdk 34
}
lintOptions {
disable 'InvalidPackage'
......
name: sqlcipher_flutter_libs
description: Flutter plugin to include native SQLCipher libraries in your app
version: 0.6.3
version: 0.6.4
homepage: https://github.com/simolus3/sqlite3.dart/tree/main/sqlcipher_flutter_libs
issue_tracker: https://github.com/simolus3/sqlite3.dart/issues
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать