Browse Source

Merge branch 'master' of seth.tian/demo-chart-pie into master

master
richie 5 years ago committed by Gogs
parent
commit
5d56cf05dc
  1. 26
      build.gradle

26
build.gradle

@ -0,0 +1,26 @@
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
dependencies {
//使jar
implementation fileTree(dir: 'lib', include: ['*.jar'])
}
//zip
//使form /libs/*.*,
//使from指定具体的文件名
//zip输出到$buildDir下
task zip(type:Zip,dependsOn:["build"]){
from "$buildDir/libs"
from "$projectDir/plugin.xml"
destinationDir file("$buildDir")
}
//build
build.mustRunAfter clean
//build时包含哪些文件,
processResources {
// exclude everything
// *.css没效果
// exclude '**/*.css'
// except this file
// include 'xx.xml'
}
Loading…
Cancel
Save