Use tasks extension methods where possible

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 5 years ago
parent 11c3b376e2
commit 96cdcad2af
  1. 3
      all/build.gradle.kts
  2. 3
      build.gradle.kts

@ -1,4 +1,3 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import com.github.jk1.license.render.TextReportRenderer
plugins {
@ -24,7 +23,7 @@ dependencies {
implementation(project(":game"))
}
tasks.withType<ShadowJar> {
tasks.shadowJar {
minimize()
}

@ -1,4 +1,3 @@
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@ -181,7 +180,7 @@ configure(subprojects.filter { it.free }) {
val rejectVersionRegex = Regex("(?i)[._-](?:alpha|beta|rc|cr|m)")
tasks.withType<DependencyUpdatesTask> {
tasks.dependencyUpdates {
gradleReleaseChannel = "current"
revision = "release"

Loading…
Cancel
Save