Skip to content

Commit

Permalink
[jnigen] Remove Kotlin and Gradle dependencies / publish 0.11.0 (#1481)
Browse files Browse the repository at this point in the history
* Remove Kotlin dependency from package:jni
* Remove dependency on gradle
* Publish 0.11.0
  • Loading branch information
HosseinYousefi authored Aug 29, 2024
1 parent 5e9e479 commit c2fdaa5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
3 changes: 2 additions & 1 deletion pkgs/jni/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 0.11.0-wip
## 0.11.0

- **Breaking Change** Removed `Jni.accessors`.
- Made most `Jni.env` methods into leaf functions to speed up their execution.
- Removed the dependency on `kotlin_gradle_plugin`.

## 0.10.1

Expand Down
7 changes: 0 additions & 7 deletions pkgs/jni/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@ group 'com.github.dart_lang.jni'
version '1.0'

buildscript {
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
}

dependencies {
// The Android Gradle Plugin knows how to build native code with the NDK.
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

rootProject.allprojects {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jni/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: jni
description: A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.
version: 0.11.0-wip
version: 0.11.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/jni

topics:
Expand Down
6 changes: 5 additions & 1 deletion pkgs/jnigen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.11.0

- No changes. Keep major version in sync with `package:jni`.

## 0.10.1

- Add backticks to code references in doc comments.
- Added backticks to code references in doc comments.

## 0.10.0

Expand Down
2 changes: 1 addition & 1 deletion pkgs/jnigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: jnigen
description: A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine.
version: 0.10.1
version: 0.11.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/jnigen

environment:
Expand Down

0 comments on commit c2fdaa5

Please sign in to comment.