mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 14:50:56 +00:00
let reformat have another go at it
This commit is contained in:
@@ -5,9 +5,7 @@ import java.net.URI
|
||||
import java.net.URL
|
||||
import java.nio.file.FileSystems
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.ProviderNotFoundException
|
||||
import java.nio.file.StandardCopyOption
|
||||
import java.nio.file.spi.FileSystemProvider
|
||||
import org.gradle.api.DefaultTask
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.plugins.BasePluginExtension
|
||||
@@ -53,7 +51,10 @@ fun Project.configureDistribution() {
|
||||
} catch (e: Exception) {
|
||||
null
|
||||
};
|
||||
val provider = if (preExistingProvider == null) { preExistingProvider } else { FileSystems.newFileSystem(dest, mapOf("create" to "false"), null)
|
||||
val provider = if (preExistingProvider == null) {
|
||||
preExistingProvider
|
||||
} else {
|
||||
FileSystems.newFileSystem(dest, mapOf("create" to "false"), null)
|
||||
};
|
||||
provider?.use { fs ->
|
||||
forSubProjects(":common:addons") {
|
||||
|
||||
Reference in New Issue
Block a user