Selaa lähdekoodia

Finally setup

Unknown 6 vuotta sitten
vanhempi
sitoutus
7609ffb34f
3 muutettua tiedostoa jossa 18 lisäystä ja 18 poistoa
  1. 2 2
      README.md
  2. 15 15
      build.gradle
  3. 1 1
      gradle.properties

+ 2 - 2
README.md

@@ -1,11 +1,11 @@
-# Cloth Config [ ![Download](https://api.bintray.com/packages/shedaniel/cloth-config-2/cloth-config-2/images/download.svg) ](https://bintray.com/shedaniel/ClothConfig/ClothConfig2/_latestVersion)
+# Cloth Config [ ![Download](https://api.bintray.com/packages/shedaniel/cloth-config-2/config-2/images/download.svg) ](https://bintray.com/shedaniel/cloth-config-2/config-2/_latestVersion)
 ## Maven
 ```groovy
 repositories {
     jcenter()
 }
 dependencies {
-    modCompile "me.shedaniel:cloth-config-2:LATEST"
+    'me.shedaniel.cloth:config-2:LATEST'
 }
 ```
 ## APIs

+ 15 - 15
build.gradle

@@ -9,8 +9,8 @@ plugins {
 sourceCompatibility = 1.8
 targetCompatibility = 1.8
 
-group = "me.shedaniel"
-archivesBaseName = "cloth-config-2"
+group = "me.shedaniel.cloth"
+archivesBaseName = "config-2"
 version = project.mod_version
 
 minecraft {
@@ -38,7 +38,7 @@ bintray {
     override = true
     pkg {
         repo = "cloth-config-2"
-        name = "cloth-config-2"
+        name = "config-2"
         userOrg = "shedaniel"
         licenses = ["Unlicense"]
         version {
@@ -53,15 +53,15 @@ bintray {
             gpg {
                 sign = true
             }
-            mavenCentralSync {
-                sync = true //[Default: true] Determines whether to sync the version to Maven Central.
-                user = project.hasProperty('ossToken') ? project.property('ossToken') : System.getenv('OSS_TOKEN')
-                //OSS user token: mandatory
-                password = project.hasProperty('ossPass') ? project.property('ossPass') : System.getenv('OSS_PASS')
-                //OSS user password: mandatory
-                close = '1'
-                //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
-            }
+//            mavenCentralSync {
+//                sync = true //[Default: true] Determines whether to sync the version to Maven Central.
+//                user = project.hasProperty('ossToken') ? project.property('ossToken') : System.getenv('OSS_TOKEN')
+//                OSS user token: mandatory
+//                password = project.hasProperty('ossPass') ? project.property('ossPass') : System.getenv('OSS_PASS')
+            //OSS user password: mandatory
+//                close = '1'
+            //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
+//            }
         }
     }
 }
@@ -93,13 +93,13 @@ publishing {
                 builtBy remapSourcesJar
             }
             artifact javadocsJar
-            groupId 'me.shedaniel'
-            artifactId 'cloth-config-2'
+            groupId 'me.shedaniel.cloth'
+            artifactId 'config-2'
             version = project.version
             pom.withXml {
                 def root = asNode()
                 root.appendNode('description', 'Cloth Config API for Minecraft')
-                root.appendNode('name', 'cloth-config-2')
+                root.appendNode('name', 'config-2')
                 root.appendNode('url', 'https://github.com/shedaniel/ClothConfig')
                 root.appendNode('packaging', 'jar')
                 def license = root.appendNode('licenses').appendNode('license')

+ 1 - 1
gradle.properties

@@ -2,5 +2,5 @@ minecraft_version=1.14.2
 yarn_version=1.14.2+build.2
 fabric_loader_version=0.4.7+build.147
 fabric_version=0.3.0-pre+build.165
-mod_version=0.3.3
+mod_version=0.3.4
 modmenu_version=1.5.4-85