Browse Source

Merge pull request #137 from csmith/master

Add config for pushing snapshots from circle.
pull/138/head
Chris Smith 7 years ago
parent
commit
4c7505b9cc
2 changed files with 12 additions and 1 deletions
  1. 5
    1
      build.gradle
  2. 7
    0
      circle.yml

+ 5
- 1
build.gradle View File

@@ -79,7 +79,11 @@ subprojects {
79 79
         repositories {
80 80
             maven {
81 81
                 name 'snapshots'
82
-                url 'http://artifactory.dmdirc.com/artifactory/repo'
82
+                url 'http://artifactory.dmdirc.com/artifactory/snapshots'
83
+                credentials {
84
+                    username System.getenv('ARTIFACTORY_USER')
85
+                    password System.getenv('ARTIFACTORY_PASSWORD')
86
+                }
83 87
             }
84 88
         }
85 89
     }

+ 7
- 0
circle.yml View File

@@ -18,3 +18,10 @@ dependencies:
18 18
 test:
19 19
   override:
20 20
     - ./gradlew test jacocoTestReport coveralls
21
+
22
+deployment:
23
+  snapshots:
24
+    branch: master
25
+    owner: DMDirc
26
+    commands:
27
+      - ./gradlew publishSnapshot

Loading…
Cancel
Save