@Incubating interface JavaPlatform : Platform
Defines and configures a Java SE runtime environment, consisting of a JVM runtime and a set of class libraries.
plugins { id "jvm-component" id "java-lang" } model { components { myLib(JvmLibrarySpec) { targetPlatform "java6" } } }
abstract fun getTargetCompatibility(): JavaVersion |
|
abstract fun setTargetCompatibility(targetCompatibility: JavaVersion): Unit |
abstract fun getDisplayName(): String
Returns a human consumable name for this platform. |
|
abstract fun getName(): String |