Author: centic
Date: Wed Jan 8 21:21:15 2025
New Revision: 1923006
URL: http://svn.apache.org/viewvc?rev=1923006&view=rev
Log:
Update forbidden-api, xmlbeans, JaCoCo
Also remove some obsolete property-file sorting,
Gradle itself produces a stable file since some releases
Modified:
xmlbeans/trunk/build.gradle
Modified: xmlbeans/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1923006&r1=1923005&r2=1923006&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Wed Jan 8 21:21:15 2025
@@ -23,7 +23,7 @@ buildscript {
dependencies {
classpath
'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.0.0.2929'
- classpath 'de.thetaphi:forbiddenapis:3.7'
+ classpath 'de.thetaphi:forbiddenapis:3.8'
}
}
@@ -147,7 +147,7 @@ dependencies {
// previous xmlbeans version is used to bootstrap necessary schema bindings
- bootstrap 'org.apache.xmlbeans:xmlbeans:5.2.1'
+ bootstrap 'org.apache.xmlbeans:xmlbeans:5.3.0'
bootstrap "org.apache.logging.log4j:log4j-core:${log4jVersion}"
genresources "org.apache.logging.log4j:log4j-core:${log4jVersion}"
@@ -187,17 +187,6 @@ testSchemas.each {
schemaGenTask(it.name, 'test', (it.name =~ /sEXT/ ? extCP :
configurations.genresources), it.dir, "${it.path}:${it.name}")
}
-task adjustWrapperPropertiesFile {
- doLast {
- ant.replaceregexp(match:'^#.*', replace:'', flags:'g', byline:true) {
- fileset(dir: project.projectDir, includes:
'gradle/wrapper/gradle-wrapper.properties')
- }
- new File(project.projectDir,
'gradle/wrapper/gradle-wrapper.properties').with { it.text =
it.readLines().findAll { it }.sort().join('\n') }
- ant.fixcrlf(file: 'gradle/wrapper/gradle-wrapper.properties', eol:
'lf')
- }
-}
-wrapper.finalizedBy adjustWrapperPropertiesFile
-
// https://discuss.gradle.org/t/passing-arguments-to-a-task/8427
def schemaGenTask(String baseName, String mainTest, FileCollection beansPath,
String xsdDir, String... xsdIncludes) {
String srcDir = "build/generated/sources/${baseName}/${mainTest}/java"
@@ -680,7 +669,7 @@ if (project.hasProperty('enableSonar'))
jacoco {
- toolVersion = '0.8.11'
+ toolVersion = '0.8.12'
}
test {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]