Module Contents
alltypes
Module Contents
abstract class AbstractRule : Rule
class ActionRule : AbstractRule
class CloneFilesRule : AbstractRule
abstract class Config
Module Contents
Config(fork: ForkExtension, name: String)
fun action(executor: Action<in ActionRule>): Unit
fun action(validator: Action<in ActionRule>, executor: Action<in ActionRule>): Unit
fun cloneFiles(): Unit
fun cloneFiles(configurer: Action<in CloneFilesRule>): Unit
fun copyTemplateFile(templateName: String): Unit
fun copyTemplateFile(templateName: String, targetName: String): Unit
fun copyTemplateFiles(files: Map<String, String>): Unit
val definedProperties: List<Property>
fun eachFiles(action: Action<in FileHandler>): Unit
fun eachFiles(action: Action<in FileHandler>, options: Action<in EachFilesRule>): Unit
fun eachFiles(includes: List<String>, excludes: List<String>, action: Action<in FileHandler>): Unit
fun eachTextFiles(action: Action<in FileHandler>): Unit
fun eachTextFiles(pattern: String, action: Action<in FileHandler>): Unit
fun eachTextFiles(patterns: List<String>, action: Action<in FileHandler>): Unit
fun evaluate(): Unit
var executableFiles: MutableList<String>
fun execute(): Unit
val fork: ForkExtension
fun makeFilesExecutable(includes: List<String> = executableFiles, excludes: List<String> = listOf()): Unit
fun moveFile(from: String, to: String): Unit
fun moveFiles(movements: Map<String, String>): Unit
val name: String
const val NAME_DEFAULT: String
const val NAME_PROPERTIES: String
val project: Project
fun promptProp(prop: String, defaultProvider: () -> String?): () -> String
fun promptProp(prop: String): () -> String
fun promptTemplate(template: String): () -> String
var propsFile: File!
fun removeEmptyDirs(): Unit
fun removeFile(path: String): Unit
fun removeFiles(includes: List<String>, excludes: List<String> = listOf(), cleanEmptyDirs: Boolean = true): Unit
fun removeText(removal: String): Unit
fun removeTexts(removals: List<String>): Unit
fun renderTemplate(template: String): String
fun replaceContent(search: String, replace: String): Unit
fun replaceContents(replacements: Map<String, String>): Unit
fun replaceText(search: String, replace: String): Unit
fun replaceTexts(replacements: Map<String, String>): Unit
fun replaceTexts(replacements: Map<String, String>, configurer: Action<in ReplaceContentsRule>): Unit
val sourceDir: File
abstract val sourcePath: String
val sourceTree: FileTree
val targetDir: File
abstract val targetPath: String
val targetTree: FileTree
var templateDir: File
val templateEngine: TemplateEngine
var textFiles: MutableList<String>
var textIgnoredFiles: MutableList<String>
open fun toString(): String
fun validate(): Unit
open class ConfigTask : DefaultTask
class CopyTemplateFilesRule : AbstractRule
abstract class DocumentListener : DocumentListener
class EachFilesRule : AbstractRule
class FileHandler
object FileOperations
abstract class FocusListener : FocusListener
open class ForkException : GradleException
open class ForkExtension
open class ForkPlugin : Plugin<Project>
class InPlaceConfig : Config
class MoveFilesRule : AbstractRule
org.gradle.api.file.FileTree
class Property
class PropertyContext
open class PropertyDefinition
class PropertyDefinitions
class PropertyDialog
class PropertyDialogField
class PropertyException : ForkException
class PropertyPrompt
enum class PropertyType
class PropertyValidator
open class PropsExtension
open class PropsPlugin : Plugin<Project>
class ReplaceContentsRule : AbstractRule
interface Rule
class SourceTargetConfig : Config
class SubstituteFilter : Filter
class TemplateEngine
class TemplateExtension : AbstractExtension
package com.neva.gradle.fork
package com.neva.gradle.fork.config
Module Contents
abstract class AbstractRule : Rule
abstract class Config
Module Contents
Config(fork: ForkExtension, name: String)
fun action(executor: Action<in ActionRule>): Unit
fun action(validator: Action<in ActionRule>, executor: Action<in ActionRule>): Unit
fun cloneFiles(): Unit
fun cloneFiles(configurer: Action<in CloneFilesRule>): Unit
fun copyTemplateFile(templateName: String): Unit
fun copyTemplateFile(templateName: String, targetName: String): Unit
fun copyTemplateFiles(files: Map<String, String>): Unit
val definedProperties: List<Property>
fun eachFiles(action: Action<in FileHandler>): Unit
fun eachFiles(action: Action<in FileHandler>, options: Action<in EachFilesRule>): Unit
fun eachFiles(includes: List<String>, excludes: List<String>, action: Action<in FileHandler>): Unit
fun eachTextFiles(action: Action<in FileHandler>): Unit
fun eachTextFiles(pattern: String, action: Action<in FileHandler>): Unit
fun eachTextFiles(patterns: List<String>, action: Action<in FileHandler>): Unit
fun evaluate(): Unit
var executableFiles: MutableList<String>
fun execute(): Unit
val fork: ForkExtension
fun makeFilesExecutable(includes: List<String> = executableFiles, excludes: List<String> = listOf()): Unit
fun moveFile(from: String, to: String): Unit
fun moveFiles(movements: Map<String, String>): Unit
val name: String
const val NAME_DEFAULT: String
const val NAME_PROPERTIES: String
val project: Project
fun promptProp(prop: String, defaultProvider: () -> String?): () -> String
fun promptProp(prop: String): () -> String
fun promptTemplate(template: String): () -> String
var propsFile: File!
fun removeEmptyDirs(): Unit
fun removeFile(path: String): Unit
fun removeFiles(includes: List<String>, excludes: List<String> = listOf(), cleanEmptyDirs: Boolean = true): Unit
fun removeText(removal: String): Unit
fun removeTexts(removals: List<String>): Unit
fun renderTemplate(template: String): String
fun replaceContent(search: String, replace: String): Unit
fun replaceContents(replacements: Map<String, String>): Unit
fun replaceText(search: String, replace: String): Unit
fun replaceTexts(replacements: Map<String, String>): Unit
fun replaceTexts(replacements: Map<String, String>, configurer: Action<in ReplaceContentsRule>): Unit
val sourceDir: File
abstract val sourcePath: String
val sourceTree: FileTree
val targetDir: File
abstract val targetPath: String
val targetTree: FileTree
var templateDir: File
val templateEngine: TemplateEngine
var textFiles: MutableList<String>
var textIgnoredFiles: MutableList<String>
open fun toString(): String
fun validate(): Unit
class FileHandler
class InPlaceConfig : Config
interface Rule
class SourceTargetConfig : Config
package com.neva.gradle.fork.config.properties
package com.neva.gradle.fork.config.rule
package com.neva.gradle.fork.file
package com.neva.gradle.fork.gui
package com.neva.gradle.fork.tasks
package com.neva.gradle.fork.template
package com.neva.gradle.fork.template.filter