Skip to content

Commit

Permalink
[#70] Drop support for Java 7
Browse files Browse the repository at this point in the history
Released binary artifacts require at least Java 8.
  • Loading branch information
szpak committed Jan 27, 2018
1 parent c3c5b2e commit cc056c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
- Support for test plugin selection in PIT (e.g. JUnit 5) - #76 - PR by [Christoph Sturm](https://github.com/christophsturm)
- Support for excludedTestClasses parameter in PIT - #75
- PIT 1.3.1 by default
- Drop Java 7 support - #70
- Basic Java 9 compatibility verified with CI build (preliminary support for Java 9 has been available since PIT 1.2.3) - #68
- Switch build to Gradle 4.5

**Breaking change**. Starting with 1.3.0 binary artifacts require at least Java in version 8.

## 1.2.4 - 2017-11-14

- Make dependency exclusion on classpath configurable - #53
Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ test_script:

environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
PITEST_REGRESSION_TESTS: latestOnly
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
#Regression tests with different Gradle versions only on JDK 8
PITEST_REGRESSION_TESTS: quick
Expand Down
14 changes: 1 addition & 13 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: 'groovy'
apply plugin: 'ru.vyarus.animalsniffer'
apply from: "$rootDir/gradle/cdeliveryboy-release.gradle"

buildscript {
Expand All @@ -13,12 +12,11 @@ buildscript {
}
dependencies {
classpath 'info.solidsoft.gradle:cdeliveryboy:0.8.0'
classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.3'
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.9'
}
}

sourceCompatibility = 1.7
sourceCompatibility = 1.8

repositories {
mavenCentral()
Expand Down Expand Up @@ -51,7 +49,6 @@ dependencies {
funcTestCompile('com.netflix.nebula:nebula-test:6.2.0') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
signature 'org.codehaus.mojo.signature:java17:1.0@signature'
}

task funcTest(type: Test) {
Expand All @@ -70,12 +67,3 @@ task testReport(type: TestReport) {
destinationDir = file("$buildDir/reports/allTests")
reportOn test, funcTest
}

animalsniffer {
sourceSets = [project.sourceSets.main] //just for production classes - Animal Sniffer fails with: 'Undefined reference: void for Spock tests'
//https://github.com/mojohaus/animal-sniffer/issues/27
}

tasks.withType(ru.vyarus.gradle.plugin.animalsniffer.AnimalSniffer) {
onlyIf { project.hasProperty('compatibility') }
}

0 comments on commit cc056c4

Please sign in to comment.