Move resources: remove build code that not required anymore

This commit is contained in:
Sergey Rostov
2018-11-27 15:59:09 +03:00
parent d3dc1d8164
commit 2fac72cd99
5 changed files with 5 additions and 15 deletions
+1 -3
View File
@@ -29,9 +29,7 @@ sourceSets {
"test" { projectDefault() } "test" { projectDefault() }
} }
val jar = runtimeJar { val jar = runtimeJar {}
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
testsJar {} testsJar {}
@@ -25,9 +25,7 @@ sourceSets {
"test" {} "test" {}
} }
val jar = runtimeJar { val jar = runtimeJar {}
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
dist(targetName = the<BasePluginConvention>().archivesBaseName + ".jar") dist(targetName = the<BasePluginConvention>().archivesBaseName + ".jar")
+1 -3
View File
@@ -30,9 +30,7 @@ sourceSets {
"test" { projectDefault() } "test" { projectDefault() }
} }
val jar = runtimeJar { val jar = runtimeJar {}
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
testsJar {} testsJar {}
@@ -23,9 +23,7 @@ sourceSets {
"test" { projectDefault() } "test" { projectDefault() }
} }
val jar = runtimeJar { val jar = runtimeJar {}
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
sourcesJar() sourcesJar()
javadocJar() javadocJar()
testsJar {} testsJar {}
@@ -43,9 +43,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
} }
} }
val jar = runtimeJar { val jar = runtimeJar {}
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
sourcesJar() sourcesJar()
javadocJar() javadocJar()