Skip to content

Commit

Permalink
Update JCC and only consider same minors valid
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Aug 27, 2024
1 parent 0e0e5e0 commit 1ed59fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions projects/neoforge/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import net.neoforged.jarcompatibilitychecker.gradle.JCCPlugin
import net.neoforged.jarcompatibilitychecker.gradle.CompatibilityTask
import net.neoforged.jarcompatibilitychecker.gradle.ProvideNeoForgeJarTask

plugins {
id 'java-library'
id 'maven-publish'
id 'net.neoforged.jarcompatibilitychecker' version '0.1.9'
id 'net.neoforged.jarcompatibilitychecker' version '0.1.10'
}

rootProject.gradleutils.setupSigning(project: project, signAllPublications: true)
Expand All @@ -16,7 +17,8 @@ dynamicProject {
}

final checkVersion = JCCPlugin.providePreviousVersion(
project.providers, project.providers.provider({['https://maven.neoforged.net/releases']}), project.providers.provider({'net.neoforged:neoforge'})
project.providers, project.providers.provider({['https://maven.neoforged.net/releases']}), project.providers.provider({'net.neoforged:neoforge'}),
project.provider { project.version }.map { ver -> CompatibilityTask.VersionComponentTest.MINOR.predicate(ver) }
)
final createCompatJar = tasks.register('createCompatibilityCheckJar', ProvideNeoForgeJarTask) {
// Use the same jar that the patches were generated against
Expand Down

0 comments on commit 1ed59fd

Please sign in to comment.