mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-21 11:32:05 +01:00
[gradle] Commit gradle.properties with XML parser workaround
This commit is contained in:
parent
ea8e15d10f
commit
73c935cf95
3 changed files with 5 additions and 12 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -58,17 +58,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sdkmanager "platforms;android-21"
|
sdkmanager "platforms;android-21"
|
||||||
|
|
||||||
# Workaround
|
|
||||||
- name: Create gradle.properties
|
|
||||||
run: |
|
|
||||||
cat <<-EOF > gradle.properties
|
|
||||||
# Workaround for https://github.com/CycloneDX/cyclonedx-gradle-plugin/issues/349
|
|
||||||
# suggested at https://docs.gradle.org/current/userguide/upgrading_version_8.html#xml_parsing_now_requires_recent_parsers
|
|
||||||
systemProp.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
|
|
||||||
systemProp.javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
|
|
||||||
systemProp.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
- name: Gradle Check
|
- name: Gradle Check
|
||||||
run: ./gradlew check --stacktrace
|
run: ./gradlew check --stacktrace
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,7 +12,6 @@
|
||||||
.project
|
.project
|
||||||
.settings
|
.settings
|
||||||
.gradle
|
.gradle
|
||||||
gradle.properties
|
|
||||||
|
|
||||||
build/
|
build/
|
||||||
core/build/
|
core/build/
|
||||||
|
|
5
gradle.properties
Normal file
5
gradle.properties
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Workaround for https://github.com/CycloneDX/cyclonedx-gradle-plugin/issues/349
|
||||||
|
# suggested at https://docs.gradle.org/current/userguide/upgrading_version_8.html#xml_parsing_now_requires_recent_parsers
|
||||||
|
systemProp.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
|
||||||
|
systemProp.javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
|
||||||
|
systemProp.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
|
Loading…
Reference in a new issue