Browse Source

添加工作流模块(暂时)

NorthLan 7 years ago
parent
commit
f0a617b1ea
3 changed files with 50 additions and 39 deletions
  1. 47 39
      build.gradle
  2. 1 0
      settings.gradle
  3. 2 0
      zen-activiti/build.gradle

+ 47 - 39
build.gradle

@@ -5,27 +5,33 @@ buildscript {
     ext {
         kotlin_version = '1.2.21'
 
+        spring_boot_version = '1.5.9.RELEASE'
+
+        junit_version = '4.12'
+
         commons_io_version = '2.5'
-        commons_logging_version = '1.1.3'
         commons_lang3_version = '3.5'
+        commons_codec_version = '1.10'
+        commons_fileupload_version = '1.3.2'
 
-        spring_boot_version = '1.5.9.RELEASE'
-        spring_data_version = '2.0.2.RELEASE'
-        spring_data_elasticsearch_version = '3.0.2.RELEASE'
-//        spring_rabbitmq_version = '2.0.1.RELEASE'
+        slf4j_api_version = '1.7.25'
 
         ehcache_version = '3.4.0'
         ehcache_core_version = '2.6.11'
+
         mysql_connector_version = '5.1.45'
+
         alidruid_version = '1.1.6'
         mybatis_plus_version = '2.1.8'
         mybatis_plus_boot_version = '1.0.5'
-        activiti_version = '7-201712-EA'
+        activiti_starter_version = '6.0.0'
 //        rabbitmq_version = '5.1.2'
         xxljob_version = '1.9.0'
         swagger_version = '2.7.0'
 
         fastjson_version = '1.2.44'
+
+        kisso_version = '3.7.0'
     }
     repositories {
         mavenCentral()
@@ -53,64 +59,66 @@ subprojects {
     }
 
     dependencies {
-        compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
-        compile("org.jetbrains.kotlin:kotlin-reflect")
+        // Kotlin
+        compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version")
+        compile("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
 
+        // SpringBoot Starter
         compile('org.springframework.boot:spring-boot-starter')
         compile('org.springframework.boot:spring-boot-starter-web')
         compile('org.springframework.boot:spring-boot-starter-aop')
         compile('org.springframework.boot:spring-boot-starter-amqp')
         testCompile('org.springframework.boot:spring-boot-starter-test')
-        testCompile("junit:junit:4.12")
 
+        testCompile("junit:junit:$junit_version")
+
+        // commons
         compile("commons-io:commons-io:$commons_io_version")
-//        compile("commons-logging:commons-logging:$commons_logging_version")
         compile("org.apache.commons:commons-lang3:$commons_lang3_version")
-        compile("commons-codec:commons-codec:1.10")
-        compile("commons-fileupload:commons-fileupload:1.3.2")
-        compile("commons-beanutils:commons-beanutils:1.9.3")
+        compile("commons-codec:commons-codec:$commons_codec_version")
+        compile("commons-fileupload:commons-fileupload:$commons_fileupload_version")
+
+        // logger
+        compile("org.slf4j:slf4j-api:$slf4j_api_version")
+
         compile("javax.servlet:javax.servlet-api:3.1.0")
         compile("javax.servlet:servlet-api:2.5")
-        compile("org.slf4j:slf4j-api:1.7.25")
-        // compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
-//        compile group: 'log4j', name: 'log4j', version: '1.2.17'
-
-//        compile group: 'javax.servlet', name: 'jstl', version: '1.2'
-//        compile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1'
-//
-//        compile ("org.springframework.amqp:spring-rabbit:$spring_rabbitmq_version")
-//        compile ("org.springframework.data:spring-data-commons-core:1.4.1.RELEASE")
-//        compile ("org.springframework.data:spring-data-commons:$spring_data_version")
-//        compile ("org.springframework.data:spring-data-redis:$spring_data_version")
-//        compile ("org.springframework.data:spring-data-jpa:$spring_data_version")
-//        compile ("org.springframework.data:spring-data-elasticsearch:$spring_data_elasticsearch_version")
-//
-//        compile("com.alibaba:druid:$alidruid_version")
+
+        // cache
         compile("org.ehcache:ehcache:$ehcache_version")
-        compile("org.activiti:activiti-engine:$activiti_version")
-        compile("org.activiti:activiti-spring:$activiti_version")
         compile("net.sf.ehcache:ehcache-core:$ehcache_core_version")
+
+        // db
         compile("mysql:mysql-connector-java:$mysql_connector_version")
-//        compile ("org.mybatis:mybatis:$mybatis_version")
-//        compile ("org.mybatis:mybatis-spring:$mybatiss_version")
+        compile("com.alibaba:druid-spring-boot-starter:1.1.6")
+        // compile("io.shardingjdbc:sharding-jdbc-core-spring-boot-starter:2.0.2")
+
+        // mybatis-plus
         compile("com.baomidou:mybatis-plus:$mybatis_plus_version")
         compile("com.baomidou:mybatisplus-spring-boot-starter:$mybatis_plus_boot_version")
-//        compile("com.rabbitmq:amqp-client:$rabbitmq_version")
+
+        // job
         compile("com.xuxueli:xxl-job-core:$xxljob_version")
+
+        // swagger
         compile("io.springfox:springfox-swagger2:$swagger_version")
         compile("io.springfox:springfox-swagger-ui:$swagger_version")
 
+        // utils
+        compile("org.projectlombok:lombok:1.16.18")
         compile("com.google.guava:guava:23.6-jre")
         compile("com.github.penggle:kaptcha:2.3.2")
         compile("com.alibaba:fastjson:$fastjson_version")
 
+        // sso
+        compile("com.baomidou:kisso:$kisso_version")
+        // compile("io.jsonwebtoken:jjwt:0.7.0")
 
-        compile("com.baomidou:kisso:3.7.0")
-        compile("io.jsonwebtoken:jjwt:0.7.0")
-        compile("org.projectlombok:lombok:1.16.18")
-        compile("org.apache.velocity:velocity-engine-core:2.0")
+        // activiti
+        compile("org.activiti:activiti-spring-boot-starter-basic:$activiti_starter_version")
+        compile("org.activiti:activiti-spring-boot-starter-rest-api:$activiti_starter_version")
+        compile("org.activiti:activiti-spring-boot-starter-actuator:$activiti_starter_version")
 
-//        compile("io.shardingjdbc:sharding-jdbc-core-spring-boot-starter:2.0.2")
-        compile("com.alibaba:druid-spring-boot-starter:1.1.6")
+        compile("org.apache.velocity:velocity-engine-core:2.0")
     }
 }

+ 1 - 0
settings.gradle

@@ -5,4 +5,5 @@ include 'zen-orm'
 include 'zen-api'
 include 'zen-web'
 include 'zen-mq'
+include 'zen-activiti'
 

+ 2 - 0
zen-activiti/build.gradle

@@ -0,0 +1,2 @@
+dependencies {
+}