This message was deleted.
# plugin-development
s
This message was deleted.
e
take it out of the buildscript and put it in a plugin that is built with overriding
kotlinDslPluginOptions.jvmTarget.set(...)
e
Yeah guessed as much
v
Huh? Java NIO exists since Java 1.4. How can you not be able to use it? confused
e
🤷‍♀️ really dunno, something's not compiling
v
Do you maybe try to use a fully-qualified name while also having the Java plugin applied? Because that is what is not working, as
java
will be interpreted as the extension, not the package and then the
nio
is searched as property of the java extension which of course does not exist. If you use an import instead, it works fine. I even tried with the
java.nio.file
which was added in Java 1.7.
Otherwise, please specify the "something"
e
there have been additions to nio in later jdks (such as https://bugs.openjdk.org/browse/JDK-8219793) but fewer than I remember. you're right, most of it is already present by java 8