Removed deploy tasks
This commit is contained in:
parent
0fa364b47e
commit
efcfe5e56f
2 changed files with 0 additions and 42 deletions
|
@ -8,8 +8,6 @@ plugins {
|
|||
id("com.github.ben-manes.versions")
|
||||
}
|
||||
|
||||
val deployDir = project.layout.projectDirectory.dir("deploy")
|
||||
|
||||
kotlin {
|
||||
sourceSets {
|
||||
commonTest {
|
||||
|
@ -26,11 +24,6 @@ base {
|
|||
}
|
||||
|
||||
tasks {
|
||||
|
||||
clean {
|
||||
delete(deployDir)
|
||||
}
|
||||
|
||||
dokkaJavadoc {
|
||||
dokkaSourceSets {
|
||||
configureEach {
|
||||
|
@ -50,19 +43,4 @@ tasks {
|
|||
moduleName.set("UrlEncoder Library")
|
||||
}
|
||||
}
|
||||
|
||||
val copyToDeploy by registering(Sync::class) {
|
||||
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
||||
from(configurations.runtimeClasspath) {
|
||||
exclude("annotations-*.jar")
|
||||
}
|
||||
from(jvmJar)
|
||||
into(deployDir)
|
||||
}
|
||||
|
||||
register("deploy") {
|
||||
description = "Copies all needed files to the 'deploy' directory."
|
||||
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
||||
dependsOn(build, copyToDeploy)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue