Adding Architectury

This commit is contained in:
Frank 2022-07-12 23:31:56 +02:00
parent 86c2ff6129
commit 8b7a0dc655
4 changed files with 19 additions and 12 deletions

View file

@ -10,6 +10,7 @@ buildscript {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
@ -32,6 +33,7 @@ dependencies {
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
forge "net.minecraftforge:forge:${project.minecraft_version}-${project.forge_version}"
modCompileOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
//useApi "vazkii.patchouli:Patchouli:1.16.4-${project.patchouli_version}"

View file

@ -1,8 +1,8 @@
plugins {
id 'idea'
id 'eclipse'
id 'fabric-loom' version "${loom_version}"
id 'maven-publish'
id 'idea'
id 'eclipse'
id 'dev.architectury.loom' version "${loom_version}"
id 'maven-publish'
}
apply from: "bclib.gradle"

View file

@ -1,12 +1,15 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx2G
#Loom
loom_version=0.12-SNAPSHOT
loom_version=0.12.0-SNAPSHOT
# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.19
loader_version=0.14.8
fabric_version=0.57.0+1.19
#Forge
forge_version=41.0.98
loom.platform=forge
# Mod Properties
mod_version=2.0.14
maven_group=org.betterx.bclib

View file

@ -1,9 +1,11 @@
pluginManagement {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
gradlePluginPortal()
}
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven { url "https://maven.architectury.dev/" }
maven { url "https://files.minecraftforge.net/maven/" }
gradlePluginPortal()
}
}