File tree Expand file tree Collapse file tree 4 files changed +4
-29
lines changed
paperweight-core/src/main
kotlin-templates/io/papermc/paperweight/core
kotlin/io/papermc/paperweight/checkstyle
src/main/kotlin-templates/io/papermc/paperweight/util Expand file tree Collapse file tree 4 files changed +4
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2222
2323package io.papermc.paperweight.checkstyle
2424
25- import io.papermc.paperweight.core.Versions
25+ import io.papermc.paperweight.util.*
2626import io.papermc.paperweight.util.constants.*
2727import org.gradle.api.Plugin
2828import org.gradle.api.Project
@@ -36,7 +36,7 @@ abstract class PaperCheckstyle : Plugin<Project> {
3636 target.plugins.apply (PaperCheckstylePlugin ::class .java)
3737
3838 target.extensions.configure(CheckstyleExtension ::class .java) {
39- toolVersion = Versions .CHECKSTYLE
39+ toolVersion = LibraryVersions .CHECKSTYLE
4040 }
4141
4242 target.tasks.withType(PaperCheckstyleTask ::class .java).configureEach {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ sourceSets.main {
1212 kotlinSources {
1313 properties.put(" jst_version" , libs.versions.jst)
1414 properties.put(" tinyRemapper_version" , libs.versions.tinyRemapper)
15+ properties.put(" checkstyle_version" , libs.versions.checkstyle)
1516 }
1617 }
1718}
Original file line number Diff line number Diff line change @@ -25,4 +25,5 @@ package io.papermc.paperweight.util
2525object LibraryVersions {
2626 const val JST: String = "{{ jst_version }}"
2727 const val TINY_REMAPPER: String = "{{ tinyRemapper_version }}"
28+ const val CHECKSTYLE: String = "{{ checkstyle_version }}"
2829}
You can’t perform that action at this time.
0 commit comments