Add gtceu and geckolib deps
This commit is contained in:
29
build.gradle
29
build.gradle
@@ -1,9 +1,16 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'eclipse'
|
||||
id 'idea'
|
||||
id 'maven-publish'
|
||||
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
|
||||
id 'org.parchmentmc.librarian.forgegradle' version '1.+'
|
||||
id 'org.spongepowered.mixin' version '0.7.+'
|
||||
}
|
||||
|
||||
version = mod_version
|
||||
@@ -121,6 +128,23 @@ repositories {
|
||||
// flatDir {
|
||||
// dir 'libs'
|
||||
// }
|
||||
maven {
|
||||
name = 'GTCEu Maven'
|
||||
url = 'https://maven.gtceu.com'
|
||||
content {
|
||||
includeGroup 'com.gregtechceu.gtceu'
|
||||
}
|
||||
}
|
||||
maven {
|
||||
name = 'GeckoLib'
|
||||
url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/'
|
||||
content {
|
||||
includeGroupByRegex("software\\.bernie.*")
|
||||
includeGroup("com.eliotlash.mclib")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -145,6 +169,11 @@ dependencies {
|
||||
// For more info:
|
||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||
|
||||
implementation fg.deobf("com.gregtechceu.gtceu:gtceu-${minecraft_version}:${gtm_version}")
|
||||
|
||||
implementation fg.deobf("software.bernie.geckolib:geckolib-forge-${minecraft_version}:${geckolib_version}")
|
||||
implementation("com.eliotlash.mclib:mclib:20")
|
||||
}
|
||||
|
||||
// This block of code expands all declared replace properties in the specified resource targets.
|
||||
|
||||
@@ -57,3 +57,8 @@ mod_group_id=com.imbgt.ibg
|
||||
mod_authors=Jika
|
||||
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
|
||||
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.
|
||||
|
||||
|
||||
## Deps Properties
|
||||
gtm_version=7.0.0
|
||||
geckolib_version=4.7.3
|
||||
|
||||
@@ -12,3 +12,4 @@ pluginManagement {
|
||||
plugins {
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user