Browse Source

Make circle publish snapshots.

pull/54/head
Chris Smith 7 years ago
parent
commit
d936408289
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

50
     repositories {
50
     repositories {
51
         maven {
51
         maven {
52
             name 'snapshots'
52
             name 'snapshots'
53
-            url 'http://artifactory.dmdirc.com/artifactory/repo'
53
+            url 'http://artifactory.dmdirc.com/artifactory/snapshots'
54
+            credentials {
55
+                username System.getenv('ARTIFACTORY_USER')
56
+                password System.getenv('ARTIFACTORY_PASSWORD')
57
+            }
54
         }
58
         }
55
     }
59
     }
56
 }
60
 }

+ 7
- 0
circle.yml View File

19
     - ./gradlew test
19
     - ./gradlew test
20
   post:
20
   post:
21
     - ./gradlew jacocoTestReport coveralls
21
     - ./gradlew jacocoTestReport coveralls
22
+
23
+deployment:
24
+  snapshots:
25
+    branch: master
26
+    owner: DMDirc
27
+    commands:
28
+      - ./gradlew publishSnapshot

Loading…
Cancel
Save