Commit 593bfda7 authored by Raigo Ukkivi's avatar Raigo Ukkivi
Browse files

TEIS-347. Upgrade teis-plugin to version 0.0.15.

parent ec58c387
......@@ -40,6 +40,8 @@ allprojects {
jcenter()
}
apply from: this.getClass().getClassLoader().getResource('teis.test-sonar.gradle')
group = "${theGroup}"
version = "${theVersion}"
......@@ -53,35 +55,6 @@ allprojects {
}
}
test{
useJUnitPlatform()
testLogging {
events "skipped", "failed"
}
reports.junitXml.destination = file("$buildDir/test-results/test")
finalizedBy jacocoTestReport
sonarqube{
properties["sonar.junit.reportPaths"] = [file("$buildDir/test-results/test")]
}
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
csv.enabled true
}
beforeEvaluate {
getClassDirectories().setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'**/*MapperImpl**'
])
}))
}
}
dependencies {
// TeIS
compile "ee.sm.ti.teis:office-api-gateway-lib:${officeApiGatewayVersion}"
......@@ -96,32 +69,13 @@ allprojects {
"org.mapstruct:mapstruct-processor:${mapstructVersion}",
"com.querydsl:querydsl-apt:${querydslVersion}:jpa",
"org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final",
"javax.annotation:javax.annotation-api:1.3.2",
"org.projectlombok:lombok:${lombokVersion}"
"javax.annotation:javax.annotation-api:1.3.2"
)
// Tests
testAnnotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
testCompile 'org.mockito:mockito-core:2.27.0'
testCompile 'org.mockito:mockito-junit-jupiter:2.27.0'
testCompile 'org.assertj:assertj-core:3.11.1'
// Misc
compile 'org.apache.commons:commons-lang3:3.8.1'
implementation "org.mapstruct:mapstruct:${mapstructVersion}"
}
}
sonarqube {
if (System.getenv('SONAR_URL')) {
System.setProperty('sonar.host.url', System.getenv('SONAR_URL'))
System.setProperty('sonar.login', System.getenv('SONAR_LOGIN'))
}
properties {
def sonarName = "teis." + project.name
property "sonar.projectKey", sonarName
property "sonar.projectName", sonarName
}
}
......@@ -2,8 +2,7 @@ theGroup=ee.sm.ti.teis
theVersion=0.1.0-SNAPSHOT
commonsVersion=0.15.4-SNAPSHOT
officeApiGatewayVersion=0.3.3-SNAPSHOT
pluginVersion=0.0.13-SNAPSHOT
pluginVersion=0.0.15-SNAPSHOT
mapstructVersion=1.3.0.Final
lombokVersion=1.18.2
junitVersion=5.4.2
querydslVersion=4.1.3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment