file5 / intellij-idea-guidesigner-plugin Goto Github PK
View Code? Open in Web Editor NEWIntelliJ IDEA GUI Designer Gradle Plugin
License: MIT License
IntelliJ IDEA GUI Designer Gradle Plugin
License: MIT License
Hello,
when I am apply this plugin and try to build, I get this error:
An exception occurred applying plugin request [id: 'io.github.file5.guidesigner', version: '1.0.0']
> Failed to apply plugin 'io.github.file5.guidesigner'.
> Could not get unknown property 'implementation' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
I am using IntelliJ IDEA 2021.2.2 and Gradle 7.2 with minimal configuration (just 'application' plugin)
I get a handshake failure when I try to compile the project:
Execution failed for task ':compileJava'.
Could not resolve all files for configuration ':compileClasspath'.
Could not resolve com.jetbrains.intellij.java:java-gui-forms-rt:+.
Required by:
project :
> Failed to list versions for com.jetbrains.intellij.java:java-gui-forms-rt.
> Unable to load Maven meta-data from https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/java/java-gui-forms-rt/maven-metadata.xml.
> Could not get resource 'https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/java/java-gui-forms-rt/maven-metadata.xml'.
> Could not GET 'https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/java/java-gui-forms-rt/maven-metadata.xml'.
> Received fatal alert: handshake_failure
> Failed to list versions for com.jetbrains.intellij.java:java-gui-forms-rt.
> Unable to load Maven meta-data from https://cache-redirector.jetbrains.com/intellij-dependencies/com/jetbrains/intellij/java/java-gui-forms-rt/maven-metadata.xml.
> Could not get resource 'https://cache-redirector.jetbrains.com/intellij-dependencies/com/jetbrains/intellij/java/java-gui-forms-rt/maven-metadata.xml'.
> Could not GET 'https://cache-redirector.jetbrains.com/intellij-dependencies/com/jetbrains/intellij/java/java-gui-forms-rt/maven-metadata.xml'.
> Received fatal alert: handshake_failure
instrumentForms task don't define nor intputs nor outputs. Gradle won't cache those tasks and incremental build fail for whole module.
For example, I have kotlin class that extends from JLabel:
class KotlinLabel: JLabel() {
}
If I tryed to use this class in the form designer (put JLabel to form, call context menu -> morph component, enter KotlinLabel
class) with plugin, next error occurs:
Forms instrumentation failed for /tmp/1/form_design_try/app/src/main/java/form_design_try/FooForm.form: : /tmp/1/form_design_try/app/src/main/java/form_design_try/FooForm.form: Class not found: form_design_try.KotlinLabel
Pls see minimally reproducible example project at https://github.com/chabapok/form_design_try
If I try to build this project with the Intellij idea internal builder, then builded ok.
Hey there, thanks for porting this.
Unfortunately for some reason javac2 doesn't read third party libraries and I get the error that the Forms instrumentation failed for My.form: Class not found: com.github.weisj.darklaf.components.loading.LoadingIndicator
, where LoadingIndicator class comes from darklaf. I checked that the formsClasspath in Gradle contains all directories to all libraries, which is the case.
Compiling via IntelliJ works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.