forked from vlbaluk/java-validator-livr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
44 lines (36 loc) · 965 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
buildscript {
ext.kotlin_verson = '1.3.72'
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlin_verson"
id 'java-library'
id 'maven'
}
group = 'com.github.umotif-public'
version = '1.0.8'
archivesBaseName = 'livr-lib'
sourceCompatibility = 1.8
targetCompatibility = 1.8
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
repositories {
jcenter()
}
dependencies {
api 'org.apache.commons:commons-lang3:3.6'
api 'com.googlecode.json-simple:json-simple:1.1'
testImplementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_verson"
testImplementation 'junit:junit:4.13'
testImplementation "org.assertj:assertj-core:3.16.1"
testImplementation 'org.skyscreamer:jsonassert:1.5.0'
}