-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (56 loc) · 1.42 KB
/
build.gradle
File metadata and controls
67 lines (56 loc) · 1.42 KB
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
plugins {
id 'java'
id 'eclipse'
id 'idea'
id 'com.github.ben-manes.versions' version '0.17.0'
}
group = 'org.dataagg'
version = '1.4'
description = """DataAgg wCodeGen"""
dependencies {
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.slf4j:jcl-over-slf4j:1.7.25'
compile 'org.slf4j:jul-to-slf4j:1.7.25'
compile 'org.apache.logging.log4j:log4j-api:2.11.0'
compile 'org.apache.logging.log4j:log4j-core:2.11.0'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.0'
compile 'org.jodd:jodd-core:4.3.2'
compile 'org.jodd:jodd-bean:4.3.2'
compile 'com.google.code.gson:gson:2.8.4'
compile 'org.freemarker:freemarker:2.3.28'
compile 'org.yaml:snakeyaml:1.21'
testCompile 'junit:junit:4.12'
}
repositories {
mavenLocal()
maven {
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
jcenter()
//mavenCentral()
}
jar {
baseName = 'wCodeGen'
version = '1.4'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.encoding = "UTF-8"
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'DataAgg wCodeGen',
'Implementation-Version': version,
'Main-Class': 'org.dataagg.codegen.FtlCodeGen2'
}
baseName = project.name + '-all'
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}