-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add gradle verification xml to generated release. #62
base: main
Are you sure you want to change the base?
Conversation
@@ -29,13 +29,15 @@ var ( | |||
) | |||
|
|||
type Preferences struct { | |||
IsOfflineMode bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this? This is now always true
|
||
# add plugin with CLI | ||
cd "$SAMPLE_PATH" | ||
/tmp/bin/bitrise-build-cache-cli enable-for add-gradle-deps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the enable-for
a leftover?
} | ||
|
||
func init() { | ||
enableForCmd.AddCommand(addGradleDeps) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not the root command?
return fmt.Errorf("generate bitrise-build-cache.init.gradle.kts: %w", err) | ||
} | ||
|
||
logger.Infof("(i) Write ~/.gradle/init.d/bitrise-build-cache.init.gradle.kts") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now duplicated code, have you considered extracting these?
|
||
- Create a ~/.gradle/init.d/bitrise-build-cache.init.gradle.kts file with the necessary configs. This file will be overwritten. | ||
|
||
The gradle.properties file will be created if it doesn't exist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a leftover? I haven't found the relevant code for these
Creates gradle-verification.xml and adds it to the release.