Skip to content

Commit

Permalink
Editing
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Lqrs committed Oct 30, 2023
1 parent c7bd86d commit 4840594
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
20 changes: 0 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'fabric-loom' version '1.4-SNAPSHOT'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

Expand Down Expand Up @@ -33,7 +32,6 @@ configurations {
includeInJar
}

// Add the generated resources to the main source set
sourceSets {
main {
resources {
Expand All @@ -52,7 +50,6 @@ dependencies {
includeInJar 'net.dv8tion:JDA:5.0.0-beta.12'
implementation 'net.dv8tion:JDA:5.0.0-beta.12'
implementation 'org.yaml:snakeyaml:2.0'
implementation 'net.java.dev.jna:jna:5.13.0'
}

processResources {
Expand All @@ -76,31 +73,14 @@ java {


jar {
// LICENSE ファイルのリネーム
from("LICENSE") {
rename { "${it}_${project.base.archivesName.get()}" }
}

// 依存関係の追加
from(configurations.includeInJar.collect { it.isDirectory() ? it : zipTree(it) })

duplicatesStrategy = DuplicatesStrategy.EXCLUDE

// oshi関連の除外
exclude("oshi.**")
exclude("oshi/**")
}


// configure the maven publication
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10
loader_version=0.14.23

# Mod Properties
mod_version=1.0.0+1-1.20.1
mod_version=1.0+1-1.20.1
maven_group=net.elysium.mod.fabricord
archives_base_name=fabricord

Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"id": "fabricord",
"version": "${version}",
"name": "Fabricord",
"description": "This is an example description! Tell everyone what your mod is about!",
"description": "Modern and simple Discord Bridge Mod for FabricServer.",
"authors": [
"Me!"
"Ruxy"
],
"contact": {
"homepage": "https://fabricmc.net/",
"sources": "https://github.com/FabricMC/fabric-example-mod"
"homepage": "https://github.com/Elysium-7",
"sources": "https://github.com/Elysium-7/Fabricord"
},
"license": "MIT",
"icon": "assets/fabricord/icon.png",
Expand Down

0 comments on commit 4840594

Please sign in to comment.