Skip to content

Instantly share code, notes, and snippets.

@eggohito
Created May 17, 2024 02:54
Show Gist options
  • Save eggohito/b5c5ae541b75feec6cb5ad15f0383be8 to your computer and use it in GitHub Desktop.
Save eggohito/b5c5ae541b75feec6cb5ad15f0383be8 to your computer and use it in GitHub Desktop.

For addon developers

Calio, Apoli, and Origins will now be published to Ladysnake's maven under the io.github.apace100 group. In order to declare these mods as a dependency, you will have to follow these steps:

1.1. If you want to use the release builds as a dependency, you can declare https://maven.ladysnake.org/releases as a maven repository:

repositories {
    maven {
        url = 'https://maven.ladysnake.org/releases'
    }
}

1.2. If you want to use the alpha/beta builds as a dependency, you can declare https://maven.ladysnake.org/snapshots as a maven repository:

repositories {
    maven {
        url = 'https://maven.ladysnake.org/snapshots'
    }
}
  1. Change the maven group for Calio/Apoli/Origins from com.github.apace100 to io.github.apace100
dependencies {

//  From this:
//  modImplementation "com.github.apace100:apoli:<VERSION>"

//  To this:
    modImplementation "io.github.apace100:apoli:<VERSION>"

}
  1. Make sure to either remove declaring JitPack as a maven repository, or move it below the Ladysnake maven repository if you're using another dependency published in JitPack:
repositories {

    maven {
        url = 'https://maven.ladysnake.org/releases'
    }

    maven {
        url = 'https://jitpack.io'
    }

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment