Skip to content

Commit

Permalink
fix build.gradle for jacoco
Browse files Browse the repository at this point in the history
  • Loading branch information
Frotty committed May 16, 2018
1 parent 775ff93 commit c8b23d4
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions de.peeeq.wurstscript/build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'de.undercouch:gradle-download-task:3.2.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:1.0.2'
}
}

plugins {
id "jacoco"
id 'com.github.kt3k.coveralls' version '2.8.2'
id 'java'
id 'antlr'
id 'eclipse'
id 'idea'
id 'application'
}

import de.undercouch.gradle.tasks.download.Download

import java.util.regex.Matcher
import java.util.regex.Pattern
// Apply the java plugin to add support for Java
apply plugin: 'java'


apply plugin: 'antlr'

// plugins for generating IDE projects
apply plugin: 'eclipse'
apply plugin: 'idea'

apply plugin: 'application'
mainClassName = "de.peeeq.wurstio.Main"
version = "1.8.0.0"

plugins {
id "jacoco"
id 'com.github.kt3k.coveralls' version '2.8.2'
}
jacocoTestReport {
reports {
xml.enabled true
Expand Down Expand Up @@ -203,15 +210,7 @@ task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'de.undercouch:gradle-download-task:3.2.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:1.0.2'
}
}


apply plugin: 'de.undercouch.download'

Expand Down

0 comments on commit c8b23d4

Please sign in to comment.