-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
"Found Banned Dependency" when trying to build sampler-javafx or ikonli-browser in NetBeans 12 under Win10 #135
Comments
A few things:
|
Thanks, will give those a try! |
That was something for "fail fast"... Running gradlew.bat yields an error right away (same happens when switching to 6.3 in Netbeans):
Will need to dig deeper into this once I have a bit more free time on my hands. |
FWIW I ran the build with JDK15 as I could not find JDK14 via SDKMAN!, no errors. $ gm --version
------------------------------------------------------------
Gradle 6.3
------------------------------------------------------------
Build time: 2020-03-24 19:52:07 UTC
Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60
Kotlin: 1.3.70
Groovy: 2.5.10
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 15.0.2 (Eclipse OpenJ9 openj9-0.24.0)
OS: Mac OS X 10.15.7 x86_64
$ java -version
openjdk version "15.0.2" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 15.0.2+7)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.24.0, JRE 15 Mac OS X amd64-64-Bit Compressed References 20210121_172 (JIT enabled, AOT enabled)
OpenJ9 - 345e1b09e
OMR - 741e94ea8
JCL - 863b523566 based on jdk-15.0.2+7) |
Update: I managed to download & install Gradle 6.3
and ran
|
For a moment I thought that the JARs for version ───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: META-INF/MANIFEST.MF
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ Manifest-Version: 1.0
2 │ Created-By: Gradle 6.3
3 │ Build-By: aalmiray
4 │ Build-Jdk: 11.0.8 (Amazon.com Inc. 11.0.8+10-LTS)
5 │ Build-Os: Mac OS X (10.15.7; x86_64)
6 │ Build-Date: 2021-01-30
7 │ Build-Time: 13:17:02+01:00
8 │ Build-Revision: efd8f31898e78434728e6d9e78b62f2474414dd3
9 │ Build-Jdk-Spec: 11
10 │ Implementation-Title: ikonli
11 │ Implementation-Version: 12.2.0
12 │ Implementation-Vendor: Kordamp Have you tried running Gradle with |
This is what I was looking for: [build-enforcer] Restricted to JDK 11 yet ikonli-core.jar (project :ikonli-core) contains module-info.class targeted to JDK 14 Somehow the build things the compiled classes target JDK 14. I can't get my build fail in a similar fashion using Zulu 15 (hotspot). I'd recommend nuking your local build cache and removing all references to ikonli if they exist rm -rf ~/.gradle/caches/build-cache-1
rm -rf ~/.gradle/caches/modules-2/files-1/org.kordamp.ikonli*
rm -rf ~/.m2/repository/org/kordamp/ikonli/ |
I didn't have anything under
and only deleted the content of Now I'm getting stuck a lot earlier :-)
|
That looks like a problem with the Gradle Plugin Portal, which depends on Bintray. I know Bintray had issues yesterday afternoon, don't know if they persist today. The |
Today it went through but in the end its still same error messages:
|
NetBeans 12 under Win10 not working. |
I just forked the current ikonli version and tried to build it in Netbeans 12 under Win 10. For both sampler-javafx and ikonli-browser I get the same error message (see below). I didn't find anything in the description or other issues related to this error.
Probably something I have missed to configure? Any pointers would be appreciated.
Running the suggested
dependencyInsight
yielded essentially the same:The text was updated successfully, but these errors were encountered: