Manage plugin versions in libs.versions.toml

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 3 years ago
parent 0b2f13422b
commit a761a26cc8
  1. 4
      all/build.gradle.kts
  2. 6
      build.gradle.kts
  3. 7
      gradle/libs.versions.toml
  4. 5
      settings.gradle.kts

@ -4,8 +4,8 @@ import java.nio.file.Files
plugins {
`maven-publish`
application
id("com.github.jk1.dependency-license-report")
id("com.github.johnrengelman.shadow")
alias(libs.plugins.dependencyLicenseReport)
alias(libs.plugins.shadow)
kotlin("jvm")
}

@ -11,11 +11,11 @@ defaultTasks("build")
plugins {
base
id("com.github.ben-manes.versions")
id("org.jetbrains.dokka")
alias(libs.plugins.dokka)
alias(libs.plugins.versions)
kotlin("jvm")
id("org.jmailen.kotlinter") apply false
alias(libs.plugins.kotlinter) apply false
}
allprojects {

@ -12,6 +12,13 @@ ktor = "1.6.7"
netty = "4.1.73.Final"
nettyIoUring = "0.0.11.Final"
[plugins]
dependencyLicenseReport = { id = "com.github.jk1.dependency-license-report", version = "2.1" }
dokka = { id = "org.jetbrains.dokka", version.ref = "kotlin" }
kotlinter = { id = "org.jmailen.kotlinter", version = "3.8.0" }
shadow = { id = "com.github.johnrengelman.shadow", version = "7.1.2" }
versions = { id = "com.github.ben-manes.versions", version = "0.41.0" }
[libraries]
asm-commons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" }
asm-core = { module = "org.ow2.asm:asm", version.ref = "asm" }

@ -13,11 +13,6 @@ dependencyResolutionManagement {
pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.41.0"
id("com.github.jk1.dependency-license-report") version "2.1"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("org.jetbrains.dokka") version "1.6.10"
id("org.jmailen.kotlinter") version "3.8.0"
kotlin("jvm") version "1.6.10"
}
}

Loading…
Cancel
Save