Skip to content

Commit 4cf2f52

Browse files
authored
Fix commit hash discovery (sonatype-nexus-community#107)
1 parent bf3702c commit 4cf2f52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTORS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ Sonatype internal people:
99
- [@hboutemy](https://github.com/hboutemy) (Hervé Boutemy)
1010
- [@maurycupitt](https://github.com/maurycupitt) (Maury Cupitt)
1111
- [@scherzhaft](https://github.com/scherzhaft) (Shane Stecker)
12+
- [@eduard-tita](https://github.com/eduard-tita) (Eduard Tita)
1213

1314
External contributors:
1415

1516
- [@JoarSvartholm](https://github.com/JoarSvartholm) (Joar Svartholm)
1617
-
1718

18-
Possibly You!
19+
Possibly You!

src/main/java/org/sonatype/gradle/plugins/scan/nexus/iq/scan/NexusIqPluginScanExtension.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package org.sonatype.gradle.plugins.scan.nexus.iq.scan;
1717

18-
import java.io.File;
1918
import java.util.Collections;
2019
import java.util.Set;
2120

@@ -61,7 +60,7 @@ public NexusIqPluginScanExtension(Project project) {
6160
organizationId = "";
6261
simulationEnabled = false;
6362
simulatedPolicyActionId = PolicyAction.NONE.toString();
64-
scanFolderPath = project.getBuildDir() + File.separator + SONATYPE_CLM_FOLDER + File.separator;
63+
scanFolderPath = project.getRootDir().getAbsolutePath();
6564
modulesExcluded = Collections.emptySet();
6665
dirIncludes = "";
6766
dirExcludes = "";

0 commit comments

Comments
 (0)