lucko / fabric-permissions-api

A simple permissions API for Fabric
MIT License
54 stars 14 forks source link

Something funky going on with 0.3-SNAPSHOT version #22

Closed AuroraLS3 closed 6 months ago

AuroraLS3 commented 6 months ago

Builds of my fabric plugin are suddenly failing with this:

> Task :fabric:compileJava
/home/runner/work/Plan/Plan/Plan/fabric/src/main/java/net/playeranalytics/plan/commands/FabricCommandManager.java:33: error: package me.lucko.fabric.api.permissions.v0 does not exist
import me.lucko.fabric.api.permissions.v0.Permissions;
                                         ^
/home/runner/work/Plan/Plan/Plan/fabric/src/main/java/net/playeranalytics/plan/gathering/listeners/fabric/FabricAFKListener.java:23: error: package me.lucko.fabric.api.permissions.v0 does not exist
import me.lucko.fabric.api.permissions.v0.Permissions;

Last successful build was 1 week ago (12th of April) so my guess is that something went wrong with 0.3.1 release to the snapshot repository

Versions

    minecraft "com.mojang:minecraft:1.20.4"
    mappings "net.fabricmc:yarn:1.20.4+build.3:v2"
    modImplementation "net.fabricmc:fabric-loader:0.15.2"
    modImplementation('me.lucko:fabric-permissions-api:0.3-SNAPSHOT')

    // Fabric API
    Set<String> apiModules = [
            'fabric-api-base',
            'fabric-command-api-v2',
            'fabric-entity-events-v1',
            'fabric-lifecycle-events-v1',
            'fabric-networking-api-v1',
            'fabric-message-api-v1'
    ]

    apiModules.forEach {
        modImplementation(fabricApi.module(it, "0.91.2+1.20.4"))
    }
lucko commented 6 months ago

Try depending on 0.3.1 :)