Слияние кода завершено, страница обновится автоматически
allprojects {
apply plugin: 'jacoco'
apply plugin: 'org.owasp.dependencycheck'
version = '3.0.0-a007-SNAPSHOT'
group = 'org.jxls'
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
compileJava.options.encoding = 'windows-1252'
compileTestJava.options.encoding = 'windows-1252'
dependencies {
testImplementation 'org.junit.vintage:junit-vintage-engine:5.10.1'
testImplementation 'org.mockito:mockito-core:4.11.0'
testRuntimeOnly 'commons-logging:commons-logging:1.3.0'
}
java {
withJavadocJar()
withSourcesJar()
}
if (findProperty('url') != null && findProperty('url') != '') {
publishing {
publications {
artifactory(MavenPublication) {
from components.java
}
}
repositories {
maven {
url = findProperty('url')
allowInsecureProtocol = true
credentials {
username findProperty('user')
password findProperty('pass')
}
}
}
}
}
test {
doFirst {
mkdir 'target'
}
}
}
task codeCoverageReport(type: JacocoReport) {
// Gather execution data from all subprojects
// (change this if you e.g. want to calculate unit test/integration test coverage separately)
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")
// Add all relevant sourcesets from the subprojects
subprojects.each {
sourceSets it.sourceSets.main
}
reports {
xml.enabled true
}
}
// always run the tests before generating the report
codeCoverageReport.dependsOn {
subprojects*.test
}
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )