Skip to content

Commit

Permalink
Merge branch 'main' of github.com:xYundy/SquaredAdditions
Browse files Browse the repository at this point in the history
  • Loading branch information
xYundy committed Jun 8, 2024
2 parents 7c0b0dd + 355ef90 commit 8f649bf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 39 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/localization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,7 @@

name: Sync Crowdin Translations

# Controls when the action will run.
on: workflow_dispatch
# Only run when started manually

#:
# inputs:
# uploadTranslations:
# description: "Set to true to upload (changed) translations to Crowdin"
# type: boolean
# required: true
# default: false

#schedule:
#- cron: '0 */6 * * *' # Every 6 hours - https://crontab.guru/#0_*/6_*_*_*

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
Expand Down
5 changes: 0 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<br />
<br />


<!-- PROJECT SHIELDS -->
<!--
*** I'm using markdown "reference style" links for readability.
Expand Down Expand Up @@ -119,8 +118,6 @@ You may also suggest changes by forking this repo and creating a pull request or

<p align="right">(<a href="#readme-top">back to top</a>)</p>



### Built With

* [![IntelliJIdea][IntelliJIdea]][IntelliJIdea-url]
Expand All @@ -131,7 +128,6 @@ You may also suggest changes by forking this repo and creating a pull request or
<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- GETTING STARTED -->
## Getting Started

Expand Down Expand Up @@ -281,7 +277,6 @@ Project Link: [https://github.com/xYundy/SquaredAdditions](https://github.com/xY
<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- ACKNOWLEDGMENTS -->
## Acknowledgments
* [Modding by Kaupenjoe](https://www.youtube.com/@ModdingByKaupenjoe)
Expand Down
21 changes: 4 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
plugins {
id 'fabric-loom' version "1.6.+"
id 'maven-publish' // maven publishing
id 'maven-publish'
}

String runNumber = System.getenv("GITHUB_RUN_NUMBER")
String build = runNumber != null ? "build.$runNumber" : "local"
version = "$mod_version-$build+mc$minecraft_version"
group = project.maven_group
String build = runNumber != null ? "build.$runNumber" : "local"
version = "$mod_version-$build+mc$minecraft_version"
group = project.maven_group

base {
archivesName = project.archives_base_name
Expand All @@ -21,15 +21,12 @@ repositories {
maven {
url "https://jitpack.io"
}

maven {
url "https://maven.terraformersmc.com/releases/"
}

maven {
url = uri("https://ueaj.dev/maven")
}

maven {
url = "https://api.modrinth.com/maven"
}
Expand All @@ -51,28 +48,18 @@ fabricApi {
}

dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.

// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
include modApi("com.github.Virtuoel:Statement:${project.statement_version}", {
exclude group: "net.fabricmc.fabric-api"
})

include modApi("net.devtech:arrp:${project.arrp_version}")

modImplementation ("com.terraformersmc:modmenu:${project.modmenu_version}") {
exclude module: "fabric-api"
}

modImplementation "maven.modrinth:midnightlib:${project.midnightlib_version}"
}

Expand Down
2 changes: 0 additions & 2 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
"base_path": "."

"preserve_hierarchy": true

"files": [
{
"source": "src/main/resources/assets/squaredadditions/lang/en_us.json",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],
"depends": {
"fabricloader": ">=0.15.11",
"minecraft": "~1.20.1",
"minecraft": "~1.20.4",
"java": ">=17",
"fabric-api": "*"
}
Expand Down

0 comments on commit 8f649bf

Please sign in to comment.