Browse Source

Use new plugins syntax.

pull/38/head
Chris Smith 9 years ago
parent
commit
573ae32c41
1 changed files with 5 additions and 15 deletions
  1. 5
    15
      build.gradle

+ 5
- 15
build.gradle View File

@@ -1,10 +1,13 @@
1
+plugins {
2
+    id 'com.dmdirc.git-version' version '1.0'
3
+    id 'com.github.kt3k.coveralls' version '2.1.0'
4
+}
5
+
1 6
 group = 'com.dmdirc'
2 7
 
3
-apply plugin: 'com.dmdirc.git-version'
4 8
 apply plugin: 'java'
5 9
 apply plugin: 'maven-publish'
6 10
 apply plugin: 'jacoco'
7
-apply plugin: 'com.github.kt3k.coveralls'
8 11
 
9 12
 
10 13
 sourceSets {
@@ -60,19 +63,6 @@ task wrapper(type: Wrapper) {
60 63
 task publishSnapshot(dependsOn: 'publishMavenJavaPublicationToSnapshotsRepository') << {
61 64
 }
62 65
 
63
-buildscript {
64
-    repositories {
65
-        mavenCentral()
66
-        maven { url 'http://artifactory.dmdirc.com/artifactory/repo' }
67
-        maven { url 'https://dl.bintray.com/dmdirc/releases/' }
68
-    }
69
-
70
-    dependencies {
71
-        classpath group: 'com.dmdirc', name: 'git-version', version: '1.0'
72
-        classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.1.0'
73
-    }
74
-}
75
-
76 66
 jacocoTestReport {
77 67
     reports {
78 68
         xml.enabled = true // coveralls plugin depends on xml format report

Loading…
Cancel
Save