Skip to content

Commit

Permalink
refactor: divide projects
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Jun 4, 2024
1 parent 62a19ad commit 7d528df
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ subprojects {
apply plugin: "fabric-loom"

dependencies {

minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}"
}
Expand Down
44 changes: 41 additions & 3 deletions common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,47 @@
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
// id 'fabric-loom' version '1.6-SNAPSHOT'
}

repositories {
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://jitpack.io" }
maven { url 'https://masa.dy.fi/maven' }
maven { url 'https://maven.nucleoid.xyz' }
maven { url 'https://projectlombok.org/edge-releases' }

maven { url "https://maven.architectury.dev/" }
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}"

modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation "dev.architectury:architectury:11.1.17"

modImplementation include("me.lucko:fabric-permissions-api:${project.fabric_permissions_version}")
modImplementation include("net.kyori:adventure-platform-fabric:${project.adventure_platform_fabric_version}")
include(implementation "net.kyori:adventure-text-minimessage:${project.adventure_api_version}")
include(implementation "net.kyori:adventure-text-serializer-plain:${project.adventure_api_version}")

modImplementation("carpet:fabric-carpet:${project.carpet_core_version}")

modImplementation include("eu.pb4:sgui:${project.sgui_version}")

implementation "me.lucko:spark-api:${project.spark_version}"

compileOnly "org.projectlombok:lombok:${project.lombok_version}"
annotationProcessor "org.projectlombok:lombok:${project.lombok_version}"
testCompileOnly "org.projectlombok:lombok:${project.lombok_version}"
testAnnotationProcessor "org.projectlombok:lombok:${project.lombok_version}"

implementation group: 'com.google.code.gson', name: 'gson', version: "${project.gson_version}"

include(implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${project.mixin_extras_version}")))

include(implementation group: 'org.apache.commons', name: 'commons-compress', version: "${project.apache_commons_compression_version}")
include(implementation group: 'commons-io', name: 'commons-io', version: "${project.apache_commons_io_version}")
include(implementation group: 'org.quartz-scheduler', name: 'quartz', version: "${project.quartz_version}")
include(implementation "org.reflections:reflections:${project.reflections_version}")
include(implementation "org.javassist:javassist:${project.javaassist_version}")
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pluginManagement {
name = 'Forge'
url = 'https://maven.minecraftforge.net/'
}
maven { url "https://maven.architectury.dev/" }
gradlePluginPortal()
}
}
Expand Down

0 comments on commit 7d528df

Please sign in to comment.