fix annotations not compiling

This commit is contained in:
yrsegal@gmail.com 2022-08-18 17:06:06 -04:00
parent 1afd21b5bb
commit 63be2d9a96
4 changed files with 11 additions and 1 deletions

View file

@ -38,6 +38,9 @@ dependencies {
compileOnly "at.petra-k.paucal:paucal-common-$minecraftVersion:$paucalVersion"
compileOnly "vazkii.patchouli:Patchouli-xplat:$minecraftVersion-$patchouliVersion"
compileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
testCompileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.1'
}

View file

@ -57,6 +57,8 @@ dependencies {
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabricVersion}"
// Reqs
compileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
testCompileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
compileOnly "com.demonwav.mcdev:annotations:1.0"
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'

View file

@ -132,6 +132,9 @@ dependencies {
minecraft "net.minecraftforge:forge:${minecraftVersion}-${forgeVersion}"
compileOnly project(":Common")
compileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
testCompileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
compileOnly fg.deobf("at.petra-k.paucal:paucal-forge-$minecraftVersion:$paucalVersion")

View file

@ -6,6 +6,8 @@ org.gradle.daemon=false
modID=hexcasting
modName=Hex Casting
jetbrainsAnnotationsVersion=23.0.0
minecraftVersion=1.18.2
kotlinVersion=1.6.21
modVersion=0.9.2
@ -14,4 +16,4 @@ paucalVersion=0.4.6
patchouliVersion=69
jeiVersion=9.5.3.143
pehkuiVersion=3.3.2
pehkuiVersion=3.3.2