Unknown 6 år sedan
förälder
incheckning
ad0f74c0a1
1 ändrade filer med 23 tillägg och 25 borttagningar
  1. 23 25
      build.gradle

+ 23 - 25
build.gradle

@@ -1,5 +1,3 @@
-import net.fabricmc.loom.task.RemapJar
-
 plugins {
     id 'fabric-loom' version '0.2.2-SNAPSHOT'
     id 'maven-publish'
@@ -60,31 +58,31 @@ dependencies {
 }
 
 task sourcesJar(type: Jar, dependsOn: classes) {
-	classifier = "sources"
-	from sourceSets.main.allSource
+    classifier = "sources"
+    from sourceSets.main.allSource
 }
 
 publishing {
-	publications {
-		mavenJava(MavenPublication) {
-			artifact(jar) {
-				builtBy remapJar
-			}
-			artifact(sourcesJar) {
-				builtBy remapSourcesJar
-			}
-		}
-	}
+    publications {
+        mavenJava(MavenPublication) {
+            artifact(jar) {
+                builtBy remapJar
+            }
+            artifact(sourcesJar) {
+                builtBy remapSourcesJar
+            }
+        }
+    }
 
-	repositories {
-//		if (project.hasProperty('danielshe_pass')) {
-//			maven {
-//				url = "http://deploy.modmuss50.me/"
-//				credentials {
-//					username = "danielshe"
-//					password = project.getProperty('danielshe_pass')
-//				}
-//			}
-//		}
-	}
+    repositories {
+        if (project.hasProperty('danielshe_pass')) {
+            maven {
+                url = "http://deploy.modmuss50.me/"
+                credentials {
+                    username = "danielshe"
+                    password = project.getProperty('danielshe_pass')
+                }
+            }
+        }
+    }
 }