-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle
90 lines (76 loc) · 2.97 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'wangyong' at '16-8-12 下午3:04' with Gradle 2.14.1
*
* This generated file contains a commented-out sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/2.14.1/userguide/tutorial_java_projects.html
*/
group 'com.tc.ly'
version '0.0.1-SNAPSHOT'
buildscript {
ext {
gradleDependencyManagementVersion = '0.6.0.RELEASE'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:${gradleDependencyManagementVersion}"
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: "io.spring.dependency-management"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
maven {
url 'http://repo.17usoft.com/content/groups/maven-all/'
}
mavenCentral()
}
subprojects {
apply from: "$rootProject.projectDir/build.gradle"
}
dependencyManagement {
def springVersion = '4.3.2.RELEASE'
def mysqlVersion = '5.1.39'
def mybatisVersion = '3.4.1'
def springmybatisVersion = '1.3.0'
def druidVersion = '1.0.20'
def mongoVersion = '3.2.2'
def jedisVersion = '2.8.2'
def rabiitVersion = '3.6.5'
def springRabbitVersion = '1.6.1.RELEASE'
def droolsKieVersion = '6.3.0.Final'
def servletVersion = '3.0-alpha-1'
def turbomqVersion = '3.2.6'
def fastJsonVersion = '1.2.15'
dependencies {
dependency "org.springframework:spring-context:${springVersion}"
dependency "org.springframework:spring-aop:${springVersion}"
dependency "org.springframework:spring-aspects:${springVersion}"
dependency "org.springframework:spring-beans:${springVersion}"
dependency "org.springframework:spring-core:${springVersion}"
dependency "org.springframework:spring-expression:${springVersion}"
dependency "org.springframework:spring-jdbc:${springVersion}"
dependency "org.springframework:spring-tx:${springVersion}"
dependency "mysql:mysql-connector-java:${mysqlVersion}"
dependency "org.mybatis:mybatis:${mybatisVersion}"
dependency "org.mybatis:mybatis-spring:${springmybatisVersion}"
dependency "com.alibaba:druid:${druidVersion}"
dependency "org.mongodb:mongo-java-driver:${mongoVersion}"
dependency "redis.clients:jedis:${jedisVersion}"
dependency "javax.servlet:servlet-api:${servletVersion}"
dependency "com.rabbitmq:amamqp-client:${rabiitVersion}"
dependency "org.springframework.amqp:spring-rabbit:${springRabbitVersion}"
dependency "com.ly.turbomq:turbomq-client:${turbomqVersion}"
dependency "org.drools:drools-compiler:${droolsKieVersion}"
dependency "org.kie:kie-ci:${droolsKieVersion}"
dependency "com.alibaba:fastjson:${fastJsonVersion}"
}
}