Skip to content

Commit 5b68095

Browse files
printmappings in testObf tasks
1 parent 1a0d6be commit 5b68095

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

enigma/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,18 @@ def registerTestJarTasks(String name, String... input) {
131131

132132
configuration confFileArg
133133

134+
final outDir = project.layout.buildDirectory.map { it.dir('test-obf') }
135+
136+
printmapping(outDir.map { it.dir("${name}.map") })
137+
134138
libraryjars(
135139
[jarfilter: '!**.jar', filter: '!module-info.class'],
136140
"${System.getProperty('java.home')}/jmods/java.base.jmod"
137141
)
138142

139143
injars testJar.map { it.archiveFile }
140144

141-
outjars file("build/test-obf/${name}.jar")
145+
outjars outDir.map { it.dir("${name}.jar") }
142146
}
143147

144148
test.dependsOn(testObf)

0 commit comments

Comments
 (0)