Browse Source

饼图示例修改为gradle

pull/2/head
tianxx7 5 years ago
parent
commit
37604e97ad
  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