fr.jcgay.gradle-jdk-chooser
所有者: Jean-Christophe Gay
选择一个JDK并为构建您的项目配置 'release' javac 参数的插件
https://github.com/jcgay/gradle-jdk-chooser-plugin
源代码: https://github.com/jcgay/gradle-jdk-chooser-plugin
使用插件DSL
plugins {
id("fr.jcgay.gradle-jdk-chooser") version "0.1.1"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("fr.jcgay.gradle-jdk-chooser-plugin:gradle-jdk-chooser-plugin:0.1.1")
}
}
apply(plugin = "fr.jcgay.gradle-jdk-chooser")