-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
I'm trying to use jnigen with an AAR (Android Archive). But seems like jnigen looks for a JAR file specifically.
[ERROR] dependency: sh.measure:measure-android:jar:0.9.0 (compile)
[ERROR] Could not find artifact sh.measure:measure-android:jar:0.9.0 in central (https://repo1.maven.org/maven2)
[ERROR] Could not transfer artifact sh.measure:measure-android:jar:0.9.0 from/to github (https://maven.pkg.github.com/measure-sh/measure): status code: 401, reason phrase: Unauthorized (401)
[ERROR] Could not find artifact sh.measure:measure-android:jar:0.9.0 in google-maven-repo (https://maven.google.com)
You can see that the AAR is present at the maven central, however jnigen fails as it was expecting to find a JAR instead of an AAR. Will AARs be supported with jnigen, or please guide if I am configuring this incorrectly.
For more context, this is the jnigen.yaml I'm using:
output:
dart:
path: lib/src/jni_bridge.dart
structure: single_file
classes:
- 'sh.measure.android.events.SignalProcessorImpl'
maven_downloads:
source_deps:
- 'sh.measure:measure-android:0.9.0'orestesgaolin, pablojimpas, Gustl22, MikelInesta, laiiihz and 1 more
Metadata
Metadata
Assignees
Type
Projects
Status
In Progress