-
- All Implemented Interfaces:
public interface KotlinJavaToolchain.JdkSetter
-
-
Method Summary
-
-
Method Detail
-
use
abstract Unit use(File jdkHomeLocation, JavaVersion jdkVersion)
Set JDK to use for Kotlin compilation.
Major JDK version is considered as compile task input.
- Parameters:
jdkHomeLocation
- path to the JDKNote: project build will fail on providing here JRE instead of JDK!jdkVersion
- provided JDK version
-
use
Unit use(String jdkHomeLocation, Object jdkVersion)
Set JDK to use for Kotlin compilation.
- Parameters:
jdkHomeLocation
- path to the JDKNote: project build will fail on providing here JRE instead of JDK!jdkVersion
- any type that is accepted by JavaVersion.toVersion
-
-
-
-