Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [0.9.0] - 2026-06-08

- Migrates to built-in Kotlin
- Updates minimum supported SDK version to Flutter 3.44/Dart 3.12

## [0.8.0] - 2026-05-08

- iOS!: SwiftPM support
Expand Down
15 changes: 7 additions & 8 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ group = "com.cloudacy.native_exif"
version = "1.0-SNAPSHOT"

buildscript {
ext.kotlin_version = "2.2.20"
repositories {
google()
mavenCentral()
}

dependencies {
classpath("com.android.tools.build:gradle:8.11.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
classpath "com.android.tools.build:gradle:8.11.1"
}
}

Expand All @@ -22,7 +20,6 @@ allprojects {
}

apply plugin: "com.android.library"
apply plugin: "kotlin-android"

android {
namespace = "com.cloudacy.native_exif"
Expand All @@ -34,10 +31,6 @@ android {
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}

sourceSets {
main.java.srcDirs += "src/main/kotlin"
}
Expand All @@ -51,3 +44,9 @@ android {
implementation("androidx.exifinterface:exifinterface:1.4.2")
}
}

kotlin {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
}
}
11 changes: 6 additions & 5 deletions example/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}
Expand All @@ -15,10 +14,6 @@ android {
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.cloudacy.native_exif_example"
Expand All @@ -42,3 +37,9 @@ android {
flutter {
source = "../.."
}

kotlin {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
}
}
4 changes: 4 additions & 0 deletions example/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
# This builtInKotlin flag was added automatically by Flutter migrator
android.builtInKotlin=true
# This newDsl flag was added automatically by Flutter migrator
android.newDsl=true
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: native_exif
description: A plugin to read and write exif data of images.
version: 0.8.0
version: 0.9.0
homepage: https://github.com/cloudacy/native_exif

environment:
sdk: ^3.11.0
flutter: '>=3.41.0'
sdk: ^3.12.0
flutter: '>=3.44.0'

dependencies:
flutter:
Expand Down