-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathbuild.gradle
54 lines (54 loc) · 2.69 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
group 'DETA_CACHE'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
ext {
springBootVersion = '1.5.2.RELEASE'
}
repositories {
//mavenCentral()
def REPOSITORY_URL = 'http://maven.aliyun.com/nexus/content/groups/public/'
all { ArtifactRepository repo ->
if (repo instanceof MavenArtifactRepository) {
def url = repo.url.toString()
if (url.startsWith('https://repo1.maven.org/maven2') || url.startsWith('https://jcenter.bintray.com/')) {
project.logger.lifecycle "Repository ${repo.url} replaced by $REPOSITORY_URL."
remove repo
}
}
}
maven {
url REPOSITORY_URL
}
}
dependencies {
//compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '1.5.2.RELEASE'
//compile("org.springframework.boot:spring-boot-starter") {
// exclude module: "tomcat-embed-el"
//}
//compile("org.springframework.boot:spring-boot-starter-web") {
// exclude module: "spring-boot-starter-tomcat"
//}
// https://mvnrepository.com/artifact/org.bytedeco/javacpp
//compile group: 'org.bytedeco', name: 'javacpp', version: '1.3.2'
// https://mvnrepository.com/artifact/org.bytedeco/javacv-platform
// compile group: 'org.bytedeco', name: 'javacv-platform', version: '1.3'
//compile group: 'org.bytedeco', name: 'javacv', version: '1.2'
//compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.1.0-1.3'
//compile group: 'org.springframework.boot', name: 'spring-boot-starter-jetty', version: '1.5.2.RELEASE'
//testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '1.5.2.RELEASE'
//compile 'org.springframework.boot:spring-boot-starter-jdbc:1.2.2.RELEASE'
//compile 'org.mybatis:mybatis-spring:1.2.2'
//compile 'org.mybatis:mybatis:3.2.8'
//compile 'mysql:mysql-connector-java:5.1.34'
//compile 'commons-dbcp:commons-dbcp:1.4'
compile group: 'com.google.code.gson', name: 'gson', version: '2.2.4'
//compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '1.5.2.RELEASE'
//compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.0.1'
//compile group: 'org.springframework.boot', name: 'spring-boot-starter-aop', version: '1.5.4.RELEASE'
// compile group: 'org.jboss.resteasy', name: 'resteasy-jaxrs', version: '3.1.4.Final'
compile group: 'org.json', name: 'json', version: '20160810'
// compile "org.projectlombok:lombok:1.16.2"
// https://mvnrepository.com/artifact/com.sun/tools
//compile group: 'com.sun', name: 'tools', version: '1.5.0'
}