
store3
task runQuantum(type: JavaExec) { dependsOn prepareLibDir, classes systemProperty "org.gradle.scan.acceptTerm", "true" doFirst { setTmpDir() buildFileSystem("$curInst.temp") jvmArgs += prepareJvmArgs() // Define paths def tempDir = "${System.properties['java.io.tmpdir']}/$curInst.temp" def ddsFolder = file("$tempDir/dds") def quantumJarFile = sourceSets.main.runtimeClasspath.filter { it.name.endsWith('.jar') && it.name.contains("quantum") } // Build classpath with the dds folder explicitly included classpath = files( instanceClasspath, quantumJarFile, sourceSets.main.runtimeClasspath, ddsFolder // Add the dds folder directly ) // Also add the dds folder as a system property if needed systemProperty "dds.rules.dir", ddsFolder.absolutePath // If the dds folder contains compiled classes, ensure they're on classpath if (ddsFolder.exists()) { println "DDS folder found at: ${ddsFolder.absolutePath}" println "Contents: ${ddsFolder.list()?.join(', ')}" // If there are JARs in dds folder, add t
Continue reading on Dev.to
Opens in a new tab

