Skip to content

Commit

Permalink
A try to reproduce problem with pitest - spring-guides#7
Browse files Browse the repository at this point in the history
  • Loading branch information
szpak committed Apr 22, 2014
1 parent 1ef563f commit 4ab575f
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions complete/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,29 @@ buildscript {
repositories {
maven { url "http://repo.spring.io/libs-snapshot" }
mavenLocal()
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.0.RC4")
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.1.RELEASE")
classpath("info.solidsoft.gradle.pitest:gradle-pitest-plugin:0.33.0-SNAPSHOT") {
exclude group: "org.pitest"
}
classpath "org.pitest:pitest-command-line:0.33"
// //The following line should be enough to configure PIT 0.33
// classpath("info.solidsoft.gradle.pitest:gradle-pitest-plugin:0.33.0-SNAPSHOT")
}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'pitest'

pitest {
targetClasses = ["hello.*"]
threads = 2
}

jar {
baseName = 'gs-spring-boot'
Expand All @@ -24,7 +37,11 @@ repositories {
}

dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
// compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-web") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty")
// tag::actuator[]
compile("org.springframework.boot:spring-boot-starter-actuator")
// end::actuator[]
Expand All @@ -34,3 +51,4 @@ dependencies {
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}

0 comments on commit 4ab575f

Please sign in to comment.