forked from dmfs/lib-recur
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (30 loc) · 795 Bytes
/
Copy pathbuild.gradle
File metadata and controls
36 lines (30 loc) · 795 Bytes
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
apply plugin: 'java-library'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
def gitVersion = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim()
}
configurations {
pom
}
apply from: 'publish.gradle'
apply from: 'jacoco.gradle'
allprojects {
group 'org.dmfs'
version gitVersion()
repositories {
mavenCentral()
}
}
dependencies {
api 'org.dmfs:rfc5545-datetime:0.3'
implementation 'org.dmfs:jems:1.41'
testImplementation group: 'junit', name: 'junit', version: '4.11'
testImplementation project("lib-recur-hamcrest")
testImplementation 'org.dmfs:jems-testing:1.41'
}