-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.gradle
79 lines (65 loc) · 1.56 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
plugins {
id "com.bmuschko.nexus" version "2.3.1"
id "net.researchgate.release" version "2.3.5"
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'signing'
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'net.researchgate.release'
group = 'com.github.goober'
description = """Coordination Transformation Library"""
sourceCompatibility = 1.6
targetCompatibility = 1.6
eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version:'4.12'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
modifyPom {
project {
name 'Coordination Transformation Library'
description 'Coordination Transformation Library'
url 'https://github.com/goober/coordinate-transformation-library'
inceptionYear '2016'
scm {
url 'https://github.com/goober/coordinate-transformation-library'
connection 'scm:https://tomasbjerre@github.com/goober/coordinate-transformation-library.git'
developerConnection 'scm:git://github.com/goober/coordinate-transformation-library.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'goober'
name 'Mathias Åhsberg'
email 'mathias.ahsberg@gmail.com'
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
afterReleaseBuild.dependsOn uploadArchives