"plug-in not found" using dependency "manifold" instead of "manifold-all"
See original GitHub issueOracle JDK 8 (1.8.0_131) and Gradle 4.10.3:
tasks.withType(JavaCompile) {
options.compilerArgs += '-Xplugin:Manifold'
options.fork = true
}
dependencies {
compileOnly libraries.lombok
compile group: 'systems.manifold', name: 'manifold', version: '0.45-alpha'
compile group: 'systems.manifold', name: 'manifold-properties', version: '0.45-alpha'
compile files("\${System.getProperty('java.home')}/../lib/tools.jar")
}
When the tasks compileJava
or compileTestJava
are executed the following message is logged:
plug-in not found: Manifold
This message is not logged if manifold-all.jar
is used as dependency.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
News - Manifold
Manifold now provides a fully integrated Java Preprocessor. The Java Preprocessor is designed exclusively for conditional compilation of Java ...
Read more >How to specify Javac plugin argument with maven-compiler ...
I'm using the Manifold plugin. Reproducing is simple.. create a pom with a dependency on the manifold-all jar (and tools.jar if using Java...
Read more >systems.manifold.manifold-gradle-plugin
Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, a Preprocessor, ...
Read more >Spring Boot Gradle Plugin Reference Guide
Managing Dependencies with the Dependency Management Plugin ... Instead, you must use one of the mechanisms that Gradle provides.
Read more >Gradle dependencies | IntelliJ IDEA Documentation - JetBrains
Required plugins for working with diagrams: Diagrams and Gradle Extension. Both plugins are bundled and enabled by default.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
please notice error in compileTestJava you need add
implementation ‘systems.manifold:manifold-all:0.71-alpha’ annotationProcessor ‘systems.manifold:manifold-all:0.71-alpha’ testImplementation ‘systems.manifold:manifold-all:0.71-alpha’ testAnnotationProcessor ‘systems.manifold:manifold-all:0.71-alpha’
Itis solved my problem
per @wilmerkrisp the last two entries
testImplementation
and/ortestAnnotationProcessor
is important if you need to use the Manifold plugins in unit tests. for example, for string interpolation you need to add:the documentation needs to be updated with this information. 😊