https://github.com/isxander/lib-installer
An easy solution to install XanderLib/ModCore on runtime.
https://github.com/isxander/lib-installer
Last synced: about 2 months ago
JSON representation
An easy solution to install XanderLib/ModCore on runtime.
- Host: GitHub
- URL: https://github.com/isxander/lib-installer
- Owner: isXander
- License: gpl-3.0
- Created: 2021-07-04T12:35:21.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-11T07:40:18.000Z (almost 5 years ago)
- Last Synced: 2025-01-18T10:51:29.585Z (over 1 year ago)
- Language: Kotlin
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Lib Installer
*An easy solution for developers to install XanderLib/ModCore at runtime.*
## How To Use
```groovy
repositories {
maven { url = 'https://jitpack.io' }
}
dependencies {
// you will need to shadow/embed this dependency
implementation 'uk.co.isXander:lib-installer:-SNAPSHOT'
}
jar {
manifest {
attributes (
// ------------------------------
// Install XanderLib
'FMLCorePlugin': 'co.uk.isxander.libinstaller.fml.XanderLib',
// Install ModCore
'FMLCorePlugin': 'co.uk.isxander.libinstaller.fml.ModCore',
// ------------------------------
'FMLCorePluginContainsFMLMod': true,
'ForceLoadAsMod': true,
'ModSide': 'CLIENT'
)
}
}
```