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 'com.gradle.plugin-publish' version '1.2.1'
|
||||
}
|
||||
group "com.flystem.wukong.gradle"
|
||||
version "0.0.1"
|
||||
group "io.github.flystem.wukong"
|
||||
version "0.0.2"
|
||||
|
||||
java {
|
||||
sourceCompatibility = '17'
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
tasks.withType(Javadoc) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
gradlePlugin {
|
||||
website = '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
|
||||
* @return
|
||||
*/
|
||||
abstract public RegularFileProperty getDeploymentFile();
|
||||
|
||||
|
|
@ -42,7 +41,7 @@ abstract public class WukongGradlePluginExtension {
|
|||
* } <br/>
|
||||
* There are version,name,displayName those come from project <br />
|
||||
* In data config block,you should use getProject() instead of project
|
||||
* @param action
|
||||
*
|
||||
*/
|
||||
public void data(Action<MapProperty<String, Object>> action) {
|
||||
action.execute(getData());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,12 @@ dependencies {
|
|||
|
||||
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
tasks.withType(Javadoc) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
wukong{
|
||||
kubeconfig = "kubeconfig-test.yaml"
|
||||
data{
|
||||
|
|
|
|||
Loading…
Reference in New Issue