Skip to content

Commit

Permalink
faster changelog verification
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMWolfs committed Dec 26, 2024
1 parent e1d862b commit eb064e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
13 changes: 1 addition & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import at.skyhanni.sharedvariables.MinecraftVersion
import at.skyhanni.sharedvariables.MultiVersionStage
import at.skyhanni.sharedvariables.ProjectTarget
import at.skyhanni.sharedvariables.SHVersionInfo
import at.skyhanni.sharedvariables.versionString
import at.skyhanni.sharedvariables.*
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask
import moe.nea.shot.ShotParser
Expand All @@ -13,7 +9,6 @@ import net.fabricmc.loom.api.processor.SpecContext
import net.fabricmc.loom.task.RunGameTask
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import skyhannibuildsystem.ChangelogVerification
import skyhannibuildsystem.DownloadBackupRepo
import java.io.Serializable
import java.nio.file.Path
Expand Down Expand Up @@ -122,12 +117,6 @@ tasks.runClient {
)
}

tasks.register("checkPrDescription", ChangelogVerification::class) {
this.outputDirectory.set(layout.buildDirectory)
this.prTitle = project.findProperty("prTitle") as String
this.prBody = project.findProperty("prBody") as String
}

file("shots.txt")
.takeIf(File::exists)
?.readText()
Expand Down
8 changes: 8 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import skyhannibuildsystem.ChangelogVerification

plugins {
`kotlin-dsl`
}
Expand All @@ -15,3 +17,9 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation("com.github.SkyHanniStudios:SkyHanniChangelogBuilder:1.0.3")
}

tasks.register("checkPrDescription", ChangelogVerification::class) {
this.outputDirectory.set(layout.buildDirectory)
this.prTitle = project.findProperty("prTitle") as String
this.prBody = project.findProperty("prBody") as String
}

0 comments on commit eb064e3

Please sign in to comment.