-
Notifications
You must be signed in to change notification settings - Fork 153
Add Gradle 9.0 support #768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -60,7 +60,7 @@ def test_build_no_init_script(self): | |||
gradle = SubprocessGradle(gradle_binary=self.gradle_binary, os_utils=self.os_utils) | ||||
gradle.build(self.source_dir, self.manifest_path) | ||||
self.os_utils.popen.assert_called_with( | ||||
[self.gradle_path, "build", "--build-file", self.manifest_path], | ||||
[self.gradle_path, "build"], | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we have test that actually runs gradle, rather than the mock? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line 3 in 3e531b3
Seems the highest gradle version we are testing is gradle 8.4. Did we tested with 9.0? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed this in a new PR: #769 |
||||
cwd=self.source_dir, | ||||
stderr=subprocess.PIPE, | ||||
stdout=subprocess.PIPE, | ||||
|
@@ -70,7 +70,7 @@ def test_gradlew_path_is_dummy_uses_gradle_binary(self): | |||
gradle = SubprocessGradle(gradle_binary=self.gradle_binary, os_utils=self.os_utils) | ||||
gradle.build(self.source_dir, self.manifest_path) | ||||
self.os_utils.popen.assert_called_with( | ||||
[self.gradle_path, "build", "--build-file", self.manifest_path], | ||||
[self.gradle_path, "build"], | ||||
cwd=self.source_dir, | ||||
stderr=subprocess.PIPE, | ||||
stdout=subprocess.PIPE, | ||||
|
@@ -80,7 +80,7 @@ def test_build_with_init_script(self): | |||
gradle = SubprocessGradle(gradle_binary=self.gradle_binary, os_utils=self.os_utils) | ||||
gradle.build(self.source_dir, self.manifest_path, init_script_path=self.init_script) | ||||
self.os_utils.popen.assert_called_with( | ||||
[self.gradle_path, "build", "--build-file", self.manifest_path, "--init-script", self.init_script], | ||||
[self.gradle_path, "build", "--init-script", self.init_script], | ||||
cwd=self.source_dir, | ||||
stderr=subprocess.PIPE, | ||||
stdout=subprocess.PIPE, | ||||
|
@@ -101,8 +101,6 @@ def test_includes_build_properties_in_command(self): | |||
[ | ||||
self.gradle_path, | ||||
"build", | ||||
"--build-file", | ||||
self.manifest_path, | ||||
"-Dfoo=bar", | ||||
"--init-script", | ||||
self.init_script, | ||||
|
Uh oh!
There was an error while loading. Please reload this page.