-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
63 lines (49 loc) · 1.32 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
55
56
57
58
59
60
61
62
63
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'org.owasp:dependency-check-gradle:3.3.0'
}
}
apply plugin: 'java'
apply plugin: 'org.owasp.dependencycheck'
description 'Yandex Market Model'
group = 'com.github.ladutsko'
version = '1.0.0'
archivesBaseName = 'yandex-market-model'
repositories {
mavenLocal()
jcenter()
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.6'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.6'
runtime 'com.fasterxml.woodstox:woodstox-core:5.1.0'
testCompile 'uk.co.jemos.podam:podam:7.1.1.RELEASE'
testRuntime 'ch.qos.logback:logback-classic:1.0.13'
}
jar {
into('META-INF') {
from files('LICENSE.md')
}
manifest {
attributes('Implementation-Title' : project.description,
'Implementation-Version' : project.version,
'Implementation-Vendor' : 'George Ladutsko')
}
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}