Add 8.0.0 Maven support
SAGESSE-CN opened this issue · 8 comments
Describe the feature
Some mod authors require Integration 8.0.0 Maven support.
mekanism/Mekanism#6479 (comment)
For now, we provide a maven repo through github packages, which is sufficiently documented by github on how to use and works fine as basic maven. Maybe a bit inconvenient currently, but github is also looking for feedback and suggestions on how to improve it further. In case they are missing something.
Can provide a working example? THX
Please refer to https://docs.github.com/en/packages, there a multiple use cases and we cannot provide an example for every one.
Our docs assume you are familiar with github packages and just adds the details explicitly needed for AE2. Omitting the common github packages details found in their docs. As these are a way more comprehensive.
For now, we provide a maven repo through github packages, which is sufficiently documented by github on how to use and works fine as basic maven. Maybe a bit inconvenient currently, but github is also looking for feedback and suggestions on how to improve it further. In case they are missing something.
Maven
We use Github Packages as maven repository now. You can use the following snippet as example on how to add a repository to your gradle build file.
repositories {
maven {
name "AE2"
url "https://maven.pkg.github.com/AppliedEnergistics/Applied-Energistics-2"
}
}
When compiling against the AE2 API you can use gradle dependencies, just adddependencies {
compileOnly "appeng:appliedenergistics2:VERSION:api"
}
or add the compileOnly line to your existing dependencies task to your build.gradle.
I tried using AE2 API maven config by the README, but it didn't build.
@yueh The AE2 has any mirrored to another without token then maven plans?
@SAGESSE-CN Yes, we're also going to upload to Modmaven and will update the README accordingly.
@SAGESSE-CN Yes, we're also going to upload to Modmaven and will update the README accordingly.
That's great. When do your usually upload?