Skip to content

Commit

Permalink
Fix buildscript.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Jul 10, 2021
1 parent 7b813db commit ebeb8c0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/gradlebuild.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Gradle Build

on:
push:
branches:
- '*'
on: [ push, pull_request ]

jobs:
build:
Expand Down
11 changes: 4 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'org.quiltmc.loom' version '0.8.+'
id 'fabric-loom' version '0.9.+'
id 'io.github.juuxel.loom-quiltflower' version '1.1.1'
id 'java-library'
id 'maven-publish'
id 'org.cadixdev.licenser' version '0.6.1'
Expand Down Expand Up @@ -53,17 +54,13 @@ minecraft {
}

repositories {
maven {
name 'Fabric'
url 'https://maven.fabricmc.net/'
}
}

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

modImplementation("net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}") {
exclude group: 'net.fabricmc'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G
# Quilt properties
minecraft_version=1.17.1
yarn_mappings=1
loader_version=0.13.1-rc.10
loader_version=0.11.6
fabric_api_version=0.36.1+1.17

# Mod properties
Expand Down
8 changes: 8 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ pluginManagement {
name 'Quilt'
url 'https://maven.quiltmc.org/repository/release'
}
maven {
name 'Fabric'
url 'https://maven.fabricmc.net/'
}
maven {
name = 'Cotton'
url = 'https://server.bbkr.space/artifactory/libs-release/'
}
gradlePluginPortal()
}
}

0 comments on commit ebeb8c0

Please sign in to comment.