Skip to content

Commit 3eccad9

Browse files
committed
in feather.py, pass gradle cli options to gradle command
1 parent 58f9a31 commit 3eccad9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

feather.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def main():
101101
possible_versions = list(set(find_minecraft_versions()))
102102
versions = []
103103
tasks = []
104+
options = []
104105

105106
args = sys.argv
106107

@@ -114,6 +115,8 @@ def main():
114115
else:
115116
if arg in GRADLE_TASKS:
116117
tasks.append(arg)
118+
elif arg.startswith('--'):
119+
options.append(arg)
117120
else:
118121
raise Exception('unrecognized arg ' + arg + '!')
119122

@@ -133,6 +136,7 @@ def main():
133136

134137
command = [GRADLEW]
135138
command.extend(tasks)
139+
command.extend(options)
136140
command.append('--stacktrace')
137141

138142
if len(versions) == 1:

0 commit comments

Comments
 (0)