Skip to content

Commit f47ff3b

Browse files
committed
Simplify the property
1 parent b79fc29 commit f47ff3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/ddprof-override.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// 3. Override the ddprof dependency resolution to use the snapshot version
66
// 4. Add a qualifier to the dd-trace-java version to avoid overwriting standard snapshots
77

8-
def ddprofUseSnapshot = project.hasProperty('ddprofUseSnapshot') && project.property('ddprofUseSnapshot').toBoolean()
8+
def ddprofUseSnapshot = project.hasProperty("ddprofUseSnapshot")
99

1010
if (ddprofUseSnapshot) {
1111
def ddprofSnapshotVersion = calculateDdprofSnapshotVersion()

0 commit comments

Comments
 (0)