Skip to content
Snippets Groups Projects
Commit 8031aff5 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

update to Java 1.8 and latest B parser and remove Jacoco

parent 12a5b568
No related branches found
No related tags found
No related merge requests found
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'jacoco' //apply plugin: 'jacoco'
project.version = '1.1.4-SNAPSHOT' project.version = '1.1.4-SNAPSHOT'
project.group = 'de.hhu.stups' project.group = 'de.hhu.stups'
project.archivesBaseName = "tla2bAST" project.archivesBaseName = "tla2bAST"
project.sourceCompatibility = '1.7' project.sourceCompatibility = '1.8'
project.targetCompatibility = '1.7' project.targetCompatibility = '1.8'
wrapper { wrapper {
gradleVersion = "5.6.2" gradleVersion = "5.6.2"
...@@ -33,11 +33,12 @@ configurations.all { ...@@ -33,11 +33,12 @@ configurations.all {
def parser_version def parser_version
if (project.version.endsWith("-SNAPSHOT")) { if (project.version.endsWith("-SNAPSHOT")) {
parser_version = '2.9.24-SNAPSHOT' parser_version = '2.9.28-SNAPSHOT'
} }
else { else {
parser_version = '2.9.23' parser_version = '2.9.27'
} }
// current stable version is 2.9.27, 2.9.28-SNAPSHOT
def tlatools_version = '1.0.2' def tlatools_version = '1.0.2'
...@@ -52,17 +53,17 @@ dependencies { ...@@ -52,17 +53,17 @@ dependencies {
testCompile (group: 'junit', name: 'junit', version: '4.12') testCompile (group: 'junit', name: 'junit', version: '4.12')
} }
jacoco { // jacoco {
toolVersion = "0.8.5" // toolVersion = "0.8.5"
reportsDir = file("$buildDir/customJacocoReportDir") // reportsDir = file("$buildDir/customJacocoReportDir")
} // }
// type 'gradle tla2b jacocoIntegrationTestReport' in order to run the jacoco code coverage analysis // type 'gradle tla2b jacocoIntegrationTestReport' in order to run the jacoco code coverage analysis
task jacocoIntegrationTestReport(type: JacocoReport) { // task jacocoIntegrationTestReport(type: JacocoReport) {
sourceSets sourceSets.main // sourceSets sourceSets.main
//executionData files('build/jacoco/integrationTests.exec') // //executionData files('build/jacoco/integrationTests.exec')
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec") // executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")
} // }
test { test {
exclude('testing') exclude('testing')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment