Module

open class Module : XmlPersistableConfigurationObject(source)

Deprecated

Will be removed in Gradle 10.

Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).

Since

1.0

Constructors

Link copied to clipboard
constructor(withXmlActions: XmlTransformer, pathFactory: PathFactory)
Creates a new Module.

Properties

Link copied to clipboard
open var contentPath: Path
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val INHERITED: String = "inherited"
The inherited.
Link copied to clipboard
open var jdkName: String
Link copied to clipboard
open var outputDir: Path
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val xml: Node

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun findFirstChildNamed(root: @Nullable Node, name: String): @Nullable Node
Link copied to clipboard
open fun findFirstChildWithAttributeValue(root: @Nullable Node, childName: String, attribute: String, value: String): @Nullable Node
Link copied to clipboard
open fun findOrCreateFirstChildNamed(root: Node, name: String): Node
Link copied to clipboard
open fun findOrCreateFirstChildWithAttributeValue(root: @Nullable Node, childName: String, attribute: String, value: String): Node
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect.
Link copied to clipboard
open fun load(inputStream: InputStream)
Link copied to clipboard
open fun loadDefaults()
Link copied to clipboard
open fun setInheritOutputDirs(inheritOutputDirs: Boolean)
Sets the inherit output dirs.
Link copied to clipboard
open fun store(outputStream: OutputStream)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun transformAction(action: Closure)