Custom classpath is invalid
See original GitHub issueWhich version of Kotest are you using 4.6.3
// Add the jar built by 'shadowJar' to classpath
test {
dependsOn(shadowJar)
classpath += shadowJar.get().outputs.files
}
It is expected that the classpath run by test should have shadowJar, but unfortunately it failed, or does kotest have another method to customize the classpath?
I am writing a Kotlin Compiler Plugin test, for the particularity of the kotlin-compiler-embedable and kotlin-compiler, I need to redirect some package name at runtime.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Diagnose "incorrect classpath" indicated by java compiler
What am I doing wrong here? Why is it classifying it at an incorrect classpath? I'm using org.eclipse.jdt.core(v.3.10.2) dependency and I'm compiling in ......
Read more >Setting the class path
The class path is the path that the Java runtime environment searches for classes and other resource files. The class search path (more...
Read more >3.10 Classpath scanning and managed components
This section describes an option for implicitly detecting the candidate components by scanning the classpath. Candidate components are classes that match ...
Read more >Java Guide: How to Fix "Could not find or load main class"
The Java “Could not find or load main class” error is thrown when the JVM fails to find or load the main class...
Read more >Invalid warning "Runtime JAR files in the classpath ... - YouTrack
Invalid warning "Runtime JAR files in the classpath should have the same version". Relates to 1 ... then in my custom android lint...
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
Possibly make the plugin use gradle even for nested tests but that isn’t something that will be done in the short term (unless you wanted to contribute a PR).
On Tue, 23 Nov 2021 at 01:50, 凛 @.***> wrote:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.