瀏覽代碼

Forgot to deploy the main jar

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 4 年之前
父節點
當前提交
f0d4bd7d02
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      build.gradle

+ 4 - 4
build.gradle

@@ -324,12 +324,12 @@ publishing {
     }
 
     repositories {
-        if (project.hasProperty('danielshe_pass')) {
+        if (System.getenv("MAVEN_PASS") != null) {
             maven {
-                url = "http://deploy.modmuss50.me/"
+                url = "https://deploy.shedaniel.me/"
                 credentials {
-                    username = "danielshe"
-                    password = project.getProperty('danielshe_pass')
+                    username = "shedaniel"
+                    password = System.getenv("MAVEN_PASS")
                 }
             }
         }