Skip to content

Commit 2a57df6

Browse files
authored
Merge pull request #5957 from rjhancock/rjh-additional-files-to-ignore
Added user prefs files to ignore for build
2 parents cf2ebad + b42ca37 commit 2a57df6

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ MekHQ.l4j.ini
6767
mhq-revision.txt
6868

6969
/MekHQ/docs/OfficialUnitList.txt
70+
*.iml

MekHQ/build.gradle

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id 'checkstyle'
66
id 'com.palantir.git-version' version '3.1.0'
77
id 'edu.sc.seis.launch4j' version '3.0.6'
8-
id "io.sentry.jvm.gradle" version "4.11.0"
8+
id "io.sentry.jvm.gradle" version "5.1.0"
99
id 'jacoco'
1010
id 'java'
1111
id 'org.ec4j.editorconfig' version '0.1.0'
@@ -179,6 +179,15 @@ task stageFiles(type: Copy) {
179179
include "sentry.properties"
180180
include "*.ini"
181181

182+
// User Config Files
183+
exclude "${mmconf}/clientsettings.xml"
184+
exclude "${mmconf}/gameoptions.xml"
185+
exclude "${mmconf}/megameklab.properties"
186+
exclude "${mmconf}/megameklab.properties.bak"
187+
exclude "${mmconf}/mhq.preferences"
188+
exclude "${mmconf}/mm.preferences"
189+
exclude "${mmconf}/mml.preferences"
190+
182191
into fileStagingDir
183192

184193
doLast {

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

0 commit comments

Comments
 (0)