forked from timols/java-gitlab-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 969 Bytes
/
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
buildscript {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
plugins {
id "java"
id "maven"
id "idea"
id "eclipse"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'org.gitlab'
version = '4.0.1-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.5.+')
compile(group: 'commons-io', name: 'commons-io', version: '2.4')
testCompile(group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3')
testCompile(group: 'junit', name: 'junit', version: '4.12')
}
jar {
manifest { attributes 'Gradle-Version': gradle.gradleVersion }
}
install {
repositories.mavenInstaller { pom.artifactId = 'java-gitlab-api' }
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts { archives sourcesJar }
task wrapper(type: Wrapper) {
gradleVersion = '4.4'
}