You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val jar: Jar by tasks
jar.apply {
from(configurations.compile.fileCollection().forEach {
zipTree(it)
})
}
Compile log:
BUILD FAILED in 0s
4 actionable tasks: 1 executed, 3 up-to-date
Cannot convert the provided notation to a File or URI: kotlin.Unit.
The following types/formats are supported:
- A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
- A String or CharSequence URI, for example 'file:/usr/include'.
- A File instance.
- A Path instance.
- A Directory instance.
- A RegularFile instance.
- A URI or URL instance.
The text was updated successfully, but these errors were encountered:
Gradle Script:
Kotlin DSL Script: [not work]
Compile log:
The text was updated successfully, but these errors were encountered: