change version to 0.0.2
This commit is contained in:
parent
834b1141da
commit
4fae057710
|
|
@ -2,13 +2,18 @@ plugins {
|
||||||
id 'java-gradle-plugin'
|
id 'java-gradle-plugin'
|
||||||
id 'com.gradle.plugin-publish' version '1.2.1'
|
id 'com.gradle.plugin-publish' version '1.2.1'
|
||||||
}
|
}
|
||||||
group "com.flystem.wukong.gradle"
|
group "io.github.flystem.wukong"
|
||||||
version "0.0.1"
|
version "0.0.2"
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = '17'
|
sourceCompatibility = '17'
|
||||||
}
|
}
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
|
}
|
||||||
|
tasks.withType(Javadoc) {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
|
}
|
||||||
gradlePlugin {
|
gradlePlugin {
|
||||||
website = 'https://github.com/flystem/wukong-gradle-plugin'
|
website = 'https://github.com/flystem/wukong-gradle-plugin'
|
||||||
vcsUrl = 'https://github.com/flystem/wukong-gradle-plugin'
|
vcsUrl = 'https://github.com/flystem/wukong-gradle-plugin'
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ abstract public class WukongGradlePluginExtension {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* generated deployment file, default:build/kube/deployment.yaml
|
* generated deployment file, default:build/kube/deployment.yaml
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
abstract public RegularFileProperty getDeploymentFile();
|
abstract public RegularFileProperty getDeploymentFile();
|
||||||
|
|
||||||
|
|
@ -42,7 +41,7 @@ abstract public class WukongGradlePluginExtension {
|
||||||
* } <br/>
|
* } <br/>
|
||||||
* There are version,name,displayName those come from project <br />
|
* There are version,name,displayName those come from project <br />
|
||||||
* In data config block,you should use getProject() instead of project
|
* In data config block,you should use getProject() instead of project
|
||||||
* @param action
|
*
|
||||||
*/
|
*/
|
||||||
public void data(Action<MapProperty<String, Object>> action) {
|
public void data(Action<MapProperty<String, Object>> action) {
|
||||||
action.execute(getData());
|
action.execute(getData());
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,12 @@ dependencies {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
|
}
|
||||||
|
tasks.withType(Javadoc) {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
|
}
|
||||||
wukong{
|
wukong{
|
||||||
kubeconfig = "kubeconfig-test.yaml"
|
kubeconfig = "kubeconfig-test.yaml"
|
||||||
data{
|
data{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue