Skip to content

MerchantPug/apugli

Repository files navigation

Apugli

https://github.com/MerchantPug/apugli/issues https://github.com/MerchantPug/apugli/blob/master/LICENSE https://apugli.readthedocs.io/en/latest/ https://discord.gg/UBfEjsANNz

This is the Apugli repository where the source code for the Apugli Apoli addon is hosted. You may more commonly know this as the TooManyOrigins library for its power types, conditions and actions, either way you can download the .jar from the releases page as a standalone file or through CurseForge or Modrinth.

Documentation

If you'd like to use Apugli in any Apoli or Origins powers you can read up on the Documentation. It's recommended to have some knowledge about either mod before doing so.

Implementing the library into your project

Greenhouse Team Maven

Depending on Apugli has changed ever since v2.0.0, as the mod is now built very differently to what it was prior to this update.

Versions 1.9.2+1.19 and later have/will be uploaded to the Greenhouse Team maven.

Common Sourcesets 1.19.x+


**build.gradle**
repositories {
    ...
    maven {
        name = "Greenhouse Team Maven"
        url = "https://repo.greenhouse.house/releases/"
    }
}

dependencies {
    ...
    compileOnly "net.merchantpug:Apugli:${project.apugli_version}-common"
}

Fabric/Quilt Loom 1.19.x+


**build.gradle**
repositories {
    ...
    maven {
        name = "Greenhouse Team Maven"
        url = "https://repo.greenhouse.house/releases/"
    }
}

dependencies {
    ...
    modImplementation(include("net.merchantpug:Apugli:${project.apugli_version}-fabric"))
}

You are able to remove the include block if you don't wish to include Apugli inside your jar.

ForgeGradle 1.19.x+


**build.gradle**
repositories {
    ...
    maven {
        name = "Greenhouse Team Maven"
        url = "https://repo.greenhouse.house/releases/"
    }
}

dependencies {
    ...
    implementation(jarJar(fg.deobf("net.merchantpug:Apugli:${project.apugli_version}-forge"))) {
        jarJar.ranged(it, "[${project.apugli_version},)")
    }
}

You are able to remove the jarJar blocks if you don't wish to include Apugli inside your jar.

You can find your correct versions by looking here.

JitPack (Old Builds and Commit Hashes Only) (Backup)

If you are trying to get v1.9.0+1.19 of Apugli, a version before then or a specific commit hash, please use JitPack.

Please reference the above for the repositories block setup for your build tools.

build.gradle

dependencies {
    // Prior to 2.0.0 (Fabric Only)
    modImplementation(include("com.github.MerchantPug:apugli:${project.apugli_version}"))
    
    // Common Sourcesets
    compileOnly "com.github.MerchantPug.apugli:Common:${project.apugli_version}"
    
    // Fabric/Quilt Loom
    modImplementation(include("com.github.MerchantPug.apugli:Fabric:${project.apugli_version}"))
    
    // ForgeGradle
    implementation(jarJar(fg.deobf("com.github.MerchantPug.apugli:Forge:${project.apugli_version}"))) {
        jarJar.ranged(it, "[${project.apugli_version},)")
    }
}