@@ -5,8 +5,8 @@ import java.io.InputStream
5
5
plugins {
6
6
maven
7
7
`java- library`
8
- kotlin(" jvm" ) version " 1.2.61 "
9
- id(" com.github.ben-manes.versions" ) version " 0.19 .0"
8
+ kotlin(" jvm" ) version " 1.3.0 "
9
+ id(" com.github.ben-manes.versions" ) version " 0.20 .0"
10
10
id(" org.jetbrains.dokka" ) version " 0.9.17"
11
11
}
12
12
@@ -61,7 +61,7 @@ tasks {
61
61
exec { commandLine(" git" , " add" , " gradle.properties" ) }
62
62
exec { commandLine(" git" , " commit" , " -m" , version) }
63
63
exec { commandLine(" git" , " tag" , version, " -m" , desc) }
64
- exec { commandLine(" git" , " push" , " --tags" ) }
64
+ exec { commandLine(" git" , " push" , " --follow- tags" ) }
65
65
println ("""
66
66
===================================================
67
67
Fertig! Jetzt noch folgende Schritte ausfuehren:
@@ -130,17 +130,18 @@ tasks {
130
130
moduleName = " Software-Challenge API $version "
131
131
val sourceSets = arrayOf(" sdk" , " plugin" ).map { project(it).sourceSets.getByName(" main" ) }
132
132
sourceDirs = files(sourceSets.map { it.java.sourceDirectories })
133
- classpath = files(sourceSets.map { it.runtimeClasspath })
134
133
outputDirectory = deployDir.resolve(" doc" ).toString()
135
134
outputFormat = " javadoc"
136
135
jdkVersion = 8
136
+ doFirst {
137
+ classpath = files(sourceSets.map { it.runtimeClasspath }.flatMap { it.files }.filter { it.exists() })
138
+ }
137
139
}
138
140
" test" {
139
141
dependsOn(" run" )
140
142
group = mainGroup
141
143
}
142
144
" build" {
143
- dependsOn(" deploy" )
144
145
group = mainGroup
145
146
}
146
147
replace(" run" ).dependsOn(" testDeployed" )
@@ -162,6 +163,9 @@ allprojects {
162
163
outputDirectory = buildDir.resolve(" doc" ).toString()
163
164
outputFormat = " javadoc"
164
165
jdkVersion = 8
166
+ doFirst {
167
+ classpath = files(sourceSets.getByName(" main" ).runtimeClasspath.files.filter { it.exists() })
168
+ }
165
169
}
166
170
val sourcesJar by creating(Jar ::class ) {
167
171
baseName = tasks.getByName<Jar >(" jar" ).baseName
@@ -203,9 +207,9 @@ project("sdk") {
203
207
204
208
dependencies {
205
209
api(kotlin(" stdlib" ))
206
- api(" com.thoughtworks.xstream" , " xstream" , " 1.4.10 " )
210
+ api(" com.thoughtworks.xstream" , " xstream" , " 1.4.11.1 " )
207
211
api(" jargs" , " jargs" , " 1.0" )
208
- api(" ch.qos.logback" , " logback-classic" , " 0.9.15 " )
212
+ api(" ch.qos.logback" , " logback-classic" , " 1.2.3 " )
209
213
210
214
implementation(" org.hamcrest" , " hamcrest-core" , " 1.3" )
211
215
implementation(" net.sf.kxml" , " kxml2" , " 2.3.0" )
0 commit comments