diff --git a/Common/build.gradle b/Common/build.gradle index c8bba05d..b703a769 100644 --- a/Common/build.gradle +++ b/Common/build.gradle @@ -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' } diff --git a/Fabric/build.gradle b/Fabric/build.gradle index b71a22a2..53a55f76 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -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' diff --git a/Forge/build.gradle b/Forge/build.gradle index 3150cb41..103f93bd 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -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") diff --git a/gradle.properties b/gradle.properties index f4f31874..11397170 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file +pehkuiVersion=3.3.2