Hello, JaCoCo!
This commit is contained in:
@@ -25,6 +25,7 @@ plugins {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url 'https://oss.sonatype.org/content/groups/public/' }
|
maven { url 'https://oss.sonatype.org/content/groups/public/' }
|
||||||
}
|
}
|
||||||
@@ -32,6 +33,7 @@ allprojects {
|
|||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
apply plugin: 'jacoco'
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
@@ -82,6 +84,10 @@ subprojects {
|
|||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jacoco {
|
||||||
|
toolVersion = '0.8.3'
|
||||||
|
}
|
||||||
|
|
||||||
task copyDep(type: Copy) {
|
task copyDep(type: Copy) {
|
||||||
into 'libs'
|
into 'libs'
|
||||||
from configurations.compile + configurations.runtime - configurations.compile_excludeCopy
|
from configurations.compile + configurations.runtime - configurations.compile_excludeCopy
|
||||||
|
|||||||
2
lombok.config
Normal file
2
lombok.config
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Добавить runtime аннотацию @lombok.Generated ко всем генерируемым методам "ломбока"
|
||||||
|
lombok.addLombokGeneratedAnnotation = true
|
||||||
Reference in New Issue
Block a user