Skip to content

Commit

Permalink
fix packets *again*, update crochet and cotton
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed May 19, 2019
1 parent 20a3421 commit dcac94b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ buildscript {
mavenCentral()
jcenter()
maven {
name = 'Fabric'
url = 'http://maven.modmuss50.me/'
name = "Fabric"
url = "http://maven.modmuss50.me/"
}
maven {
url "https://plugins.gradle.org/m2/"
Expand All @@ -13,12 +13,12 @@ buildscript {
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.0"
classpath "net.fabricmc:fabric-loom:0.2.2-SNAPSHOT"
classpath "net.fabricmc:fabric-loom:0.2.3-SNAPSHOT"
}
}

plugins {
id 'maven-publish'
id "maven-publish"
id "com.jfrog.artifactory" version "4.9.0"
}

Expand All @@ -28,24 +28,24 @@ apply plugin: net.fabricmc.loom.LoomGradlePlugin
sourceCompatibility = 1.8
targetCompatibility = 1.8

if(rootProject.file('private.gradle').exists()) { //Publishing details
apply from: 'private.gradle'
if(rootProject.file("private.gradle").exists()) { //Publishing details
apply from: "private.gradle"
}

archivesBaseName = "skillcheck"
group = "io.github.cottonmc"
version = "1.0.7+1.14.1"
version = "1.0.8+1.14.1"

minecraft {
refmapName = 'mixins.skillcheck.refmap.json'
refmapName = "mixins.skillcheck.refmap.json"
}

repositories {
maven {
url 'http://server.bbkr.space:8081/artifactory/libs-snapshot'
url "http://server.bbkr.space:8081/artifactory/libs-snapshot"
}
maven {
url = "https://minecraft.curseforge.com/api/maven"
url "https://minecraft.curseforge.com/api/maven"
}
}

Expand All @@ -56,10 +56,10 @@ dependencies {
modCompile "net.fabricmc.fabric-api:fabric-api:0.3.0-pre+build.156"

modCompile "io.github.prospector.modmenu:ModMenu:1.5.3-84"
modCompile "io.github.cottonmc:cotton:0.6.6+1.14.1-SNAPSHOT"
include "io.github.cottonmc:cotton:0.6.6+1.14.1-SNAPSHOT"
modCompile "crochet:Crochet:1.0.4:1"
include "crochet:Crochet:1.0.4:1"
modCompile "io.github.cottonmc:cotton:0.6.7+1.14.1-SNAPSHOT"
include "io.github.cottonmc:cotton:0.6.7+1.14.1-SNAPSHOT"
modCompile "crochet:Crochet:1.0.4"
include "crochet:Crochet:1.0.4"
modCompile "cloth-config:ClothConfig:0.2.1.14"
include "cloth-config:ClothConfig:0.2.1.14"

Expand Down Expand Up @@ -136,7 +136,7 @@ publishing {

artifactory {
if (project.hasProperty("artifactoryUsername")) {
contextUrl = 'http://server.bbkr.space:8081/artifactory/'
contextUrl = "http://server.bbkr.space:8081/artifactory/"
publish {
repository {
if (version.contains("SNAPSHOT")) {
Expand All @@ -149,7 +149,7 @@ artifactory {
password = artifactoryPassword
}
defaults {
publications('maven')
publications("maven")

publishArtifacts = true
publishPom = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class SkillCheckNetworking {

public static void init() {
if (FabricLoader.getInstance().getEnvironmentType() == EnvType.CLIENT) initClient();
else initServer();
initServer();
}

public static void initClient() {
Expand Down

0 comments on commit dcac94b

Please sign in to comment.