Usage instructions
Would be really great to add in the README how to import the library using Gradle/Maven (most common use cases). I can't seem to make the aar on Maven Central work right now, so I'm using older (~v4) versions for each platforms.
@Cretezy
I've just been using:
implementation 'com.eclipsesource.j2v8:j2v8:6.0.0@aar'
It seems to work fine, but I am having a spot of trouble with 6.0.0, as there was a quick fix to get exceptions flowing right. Is there going to be a 6.0.1, or is there an automatic Github Workflows build now somehow stashing updates somewhere?
Doesn't seem to work for me. None of the classes are being resolved. Is there any debugging steps I can do?
error: package com.eclipsesource.v8 does not exist
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.eclipsesource.j2v8:j2v8:6.0.0@aar'
}
(stripped but still valid)
@Cretezy Could you please create a separate and sample android project, then add J2V8 as a dependency? I did the same steps and it worked for me as expected and all classes are being resolved.
As far as I know, you should add the dependency into the module build.gradle not to the project build.gradle.
Would be really great to add in the README how to import the library using Gradle/Maven (most common use cases). I can't seem to make the
aaron Maven Central work right now, so I'm using older (~v4) versions for each platforms.
I'll update the README file as an instruction on how to add the J2V8 as a dependency.
I'm not using an Android project, just Linux
aar file is not for Linux but Android, that's why the classes are not being resolved in your case. Currently, the Linux and macOS artifacts are not published to Maven central.
I see. aar files should be able to be read for not-Android, but in that case I'll wait. What is the ETA for at least Linux artifact on MC?