Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarWind22 committed Feb 5, 2022
1 parent a9525ce commit 655849c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
# Fabric Shield Lib
Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.

Want to help translate Fabric shield lib? head over to ![here](https://crowdin.com/project/fabric-shield-lib).

## Importing
library is distributed via [jitpack.io](https://jitpack.io/#CrimsonDawn45/Fabric-Shield-Lib)

#### gradle.properties
```properties
fabric_shield_lib_version=1.4.5-1.18
fabric_shield_lib_version=1.5.0-1.18
```

#### **build.gradle** under dependencies
Expand Down
25 changes: 23 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
buildscript {
dependencies {
classpath 'de.guntram.mcmod:crowdin-translate:1.3+1.17'
}
repositories {
maven {
name = 'CrowdinTranslate source'
url = "https://minecraft.guntram.de/maven/"
}
}
}

plugins {
id 'fabric-loom' version '0.10-SNAPSHOT'
id 'maven-publish'
Expand All @@ -7,6 +19,11 @@ loom {
accessWidenerPath = file("src/main/resources/fabricshieldlib.accesswidener")
}

apply plugin: 'de.guntram.mcmod.crowdin-translate'
crowdintranslate.crowdinProjectName = 'fabric-shield-lib'
crowdintranslate.minecraftProjectName = 'fabricshieldlib'
crowdintranslate.verbose = false

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

Expand All @@ -16,8 +33,8 @@ group = project.maven_group

repositories {
maven { url = "https://jitpack.io" }
maven { url "https://maven.shedaniel.me/" }
maven { url "https://maven.terraformersmc.com/" }
maven { url = "https://maven.shedaniel.me/" }
maven { url = "https://maven.terraformersmc.com/" }
}

dependencies {
Expand Down Expand Up @@ -79,4 +96,8 @@ publishing {

repositories {
}
}

build {
dependsOn downloadTranslations
}

0 comments on commit 655849c

Please sign in to comment.