Browse Source

Use new plugin syntax.

pull/476/head
Chris Smith 9 years ago
parent
commit
254b69cf26
1 changed files with 5 additions and 14 deletions
  1. 5
    14
      build.gradle

+ 5
- 14
build.gradle View File

@@ -1,6 +1,10 @@
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: 'maven-publish'
5 9
 apply plugin: 'java'
6 10
 apply plugin: 'findbugs'
@@ -73,19 +77,6 @@ apply from: 'gradle/publishing.gradle'
73 77
 apply from: 'gradle/jar.gradle'
74 78
 apply from: 'gradle/fatjar.gradle'
75 79
 
76
-buildscript {
77
-    repositories {
78
-        mavenCentral()
79
-        maven { url 'http://artifactory.dmdirc.com/artifactory/repo' }
80
-        maven { url 'https://dl.bintray.com/dmdirc/releases/' }
81
-    }
82
-
83
-    dependencies {
84
-        classpath group: 'com.dmdirc', name: 'git-version', version: '1.0'
85
-        classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.1.0'
86
-    }
87
-}
88
-
89 80
 task wrapper(type: Wrapper) {
90 81
     gradleVersion = '2.2.1'
91 82
 }

Loading…
Cancel
Save