Removed deploy tasks

This commit is contained in:
Erik C. Thauvin 2023-09-21 14:06:08 -07:00
parent 0fa364b47e
commit efcfe5e56f
2 changed files with 0 additions and 42 deletions

View file

@ -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)
}
}