-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (57 loc) · 1.32 KB
/
build.gradle
File metadata and controls
64 lines (57 loc) · 1.32 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
plugins {
id 'java'
id 'eclipse'
id 'idea'
id 'maven'
id 'signing'
id 'maven-publish'
id 'com.jfrog.bintray' version '1.7.3'
id 'com.github.ben-manes.versions' version '0.14.0'
}
group = 'io.github.dataagg'
version = '1.2'
description = """DataAgg DaUtil"""
archivesBaseName = 'DaUtil'
apply from: './bintray.gradle'
dependencies {
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.jodd:jodd-core:3.8.1'
compile 'org.jodd:jodd-bean:3.8.1'
compile 'org.jodd:jodd-props:3.8.1'
compile 'com.google.code.gson:gson:2.8.0'
testCompile 'org.slf4j:slf4j-log4j12:1.7.25'
testCompile 'org.slf4j:jcl-over-slf4j:1.7.25'
testCompile 'org.slf4j:jul-to-slf4j:1.7.25'
testCompile 'junit:junit:4.12'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.encoding = "UTF-8"
}
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
//mavenCentral()
jcenter()
}
idea {
project {
languageLevel = '1.8'
ipr {
withXml { provider ->
provider.node.component.find { it.@name == 'VcsDirectoryMappings' }.mapping.@vcs = 'Git'
}
}
}
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
testOutputDir = file("$buildDir/classes/test/")
}
}
configurations {
published
}