Browse Source

支持使用gradle构建BI插件开发工程

master
richie 5 years ago
parent
commit
87d5a20458
  1. 4
      .gitignore
  2. 8
      build.gradle
  3. 5
      gradle/wrapper/gradle-wrapper.properties

4
.gitignore vendored

@ -11,4 +11,6 @@ classes/
transform-classes/ transform-classes/
tomcat.* tomcat.*
/ROOT/ /ROOT/
/spark_warehouse/ /spark_warehouse/
ROOT/
spark_warehouse/

8
build.gradle

@ -26,10 +26,6 @@ task install(type: Copy) {
from configurations.runtimeClasspath from configurations.runtimeClasspath
} }
static def isWindows() {
return org.gradle.internal.os.OperatingSystem.current().isWindows()
}
dependencies { dependencies {
implementation files("${System.getProperty('java.home')}/../lib/tools.jar") implementation files("${System.getProperty('java.home')}/../lib/tools.jar")
implementation 'com.fr.third:fine-third:' + fineVersion implementation 'com.fr.third:fine-third:' + fineVersion
@ -48,8 +44,8 @@ dependencies {
implementation 'com.finebi:fine-bi-adapter:' + finebiVersion implementation 'com.finebi:fine-bi-adapter:' + finebiVersion
implementation 'com.finebi:fine-bi-engine-spider:' + finebiVersion implementation 'com.finebi:fine-bi-engine-spider:' + finebiVersion
implementation 'com.finebi:fine-bi-foundation:' + finebiVersion implementation 'com.finebi:fine-bi-foundation:' + finebiVersion
implementation 'com.finebi:fine-decision-bi:' + finebiVersion implementation 'com.finebi:fine-decision-bi:' + fineVersion
implementation 'com.finebi:fine-schedule-bi:' + finebiVersion implementation 'com.finebi:fine-schedule-bi:' + fineVersion
implementation 'org.apache.tomcat:tomcat-catalina:8.5.32' implementation 'org.apache.tomcat:tomcat-catalina:8.5.32'

5
gradle/wrapper/gradle-wrapper.properties vendored

@ -1,5 +1,6 @@
#Wed Jun 10 11:47:58 CST 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-all.zip
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

Loading…
Cancel
Save