Skip to content

[jnigen] Support build.gradle.kts #2184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 9, 2025
Merged

[jnigen] Support build.gradle.kts #2184

merged 2 commits into from
Apr 9, 2025

Conversation

HosseinYousefi
Copy link
Member

Closes #1904.

Added equivalent Kotlin stubs for build.gradle.kts to the groovy stubs when no build.gradle is found in the project. We don't have the infra to test this yet, tested it locally. Tracking issue for tests: #1155.

Copy link

github-actions bot commented Apr 8, 2025

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
jni None 0.14.1 0.14.1 0.14.1 ✔️
Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

API leaks ⚠️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbols
jni _ReferenceType
_opaque_pthread_mutex_t
_opaque_pthread_cond_t
_Dart_FinalizableHandle

This check can be disabled by tagging the PR with skip-leaking-check.

License Headers ✔️
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/jni/lib/src/third_party/generated_bindings.dart
pkgs/objective_c/lib/src/ns_input_stream.dart

@coveralls
Copy link

Coverage Status

coverage: 84.828% (-0.004%) from 84.832%
when pulling 30325c0 on gradle-kts
into 4928765 on main.

@HosseinYousefi HosseinYousefi merged commit 04ac104 into main Apr 9, 2025
27 checks passed
@HosseinYousefi HosseinYousefi deleted the gradle-kts branch April 9, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jnigen fails for new flutter projects that use build.gradle.kts
3 participants