-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (41 loc) · 1.22 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
plugins {
id 'java'
}
group 'org.funtester'
version '1.0-SNAPSHOT'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
repositories {
mavenLocal()
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
// maven {
// url 'http://repo2.maven.org/maven2/'
// }
// maven {
// url 'http://repo1.maven.apache.org/maven2/'
// }
// maven { url 'http://maven.oschina.net/content/groups/public/' }
mavenCentral()
}
jar {
from {
//添加依懒到打包文件
configurations.compile.collect {it.isDirectory() ? it : zipTree(it)}
configurations.runtime.collect {zipTree(it)}
}
manifest {
attributes 'Main-Class': 'com.funtester.main.Blog'
}
}
sourceCompatibility = 1.8
dependencies {
//为了处理报错信息添加依赖
compile group: 'org.slf4j', name: 'slf4j-nop', version: '1.7.30'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '3.0.8'
compile files('/Users/oker/Library/groovy-3.0.8/lib/funtester-1.0.jar')
compile group: 'com.google.code.findbugs', name: 'annotations', version: '3.0.1'
compile group: 'com.github.dreamhead', name: 'moco-core', version: '0.12.0'
}