Files
OpenPrestige/check/resource-provider.gradle
aidanandClaude Opus 5.5 05d169a2dd Sync local working tree: injector, engine, mixin and build updates
Add compatibility notes, resource-provider and hook checks, and payload
bundling script. Remove generated engine mixin stubs, engine target lists
and prebuilt binaries now produced by the build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 17:27:24 -06:00

18 lines
947 B
Groovy

// Run with: gradlew -I check/resource-provider.gradle resourceProviderCheck
gradle.projectsEvaluated {
def project = gradle.rootProject.project(':1.21.11')
def compileCheck = project.tasks.register('compileResourceProviderCheck', JavaCompile) {
dependsOn project.tasks.named('classes')
source project.rootProject.file('check/dev/zprestige/prestige/engine/ResourceClassProviderCheck.java')
classpath = project.sourceSets.main.runtimeClasspath
destinationDirectory = project.layout.buildDirectory.dir('checks/resource-provider')
options.release = 21
options.encoding = 'UTF-8'
}
project.tasks.register('resourceProviderCheck', JavaExec) {
dependsOn compileCheck
classpath = project.files(compileCheck.flatMap { it.destinationDirectory }) + project.sourceSets.main.runtimeClasspath
mainClass = 'dev.zprestige.prestige.engine.ResourceClassProviderCheck'
}
}