Commit 64c91698 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'cromefire_-master-patch-00495' into 'master'

Corrected generated maven repository config for Gradle Groovy

See merge request gitlab-org/gitlab!56318
parents 06155c81 dc082d8f
......@@ -122,8 +122,8 @@ export const gradleGroovyInstalCommand = ({ packageEntity }) => {
export const gradleGroovyAddSourceCommand = ({ mavenPath }) =>
// eslint-disable-next-line @gitlab/require-i18n-strings
`gitlab {
url "${mavenPath}"
`maven {
url '${mavenPath}'
}`;
export const groupExists = ({ groupListUrl }) => groupListUrl.length > 0;
---
title: Correct generated maven repository instruction for Gradle Groovy DSL
merge_request: 56318
author: Cromefire_ (@cromefire_)
type: fixed
......@@ -250,8 +250,8 @@ describe('Getters PackageDetails Store', () => {
setupState();
expect(gradleGroovyAddSourceCommand(state)).toMatchInlineSnapshot(`
"gitlab {
url \\"foo/registry\\"
"maven {
url 'foo/registry'
}"
`);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment