WindowsResourceSet

A set of Windows Resource definition files.

A Windows Resource set contains a set of script files, together with an optional set of header files.

plugins {
    id 'windows-resources'
}

model {
    components {
        main(NativeLibrarySpec) {
            sources {
                rc {
                    source {
                        srcDirs "src/main/rc"
                        include "**/*.rc"
                    }
                    exportedHeaders {
                        srcDirs "src/main/include"
                    }
                }
            }
        }
    }
}

Functions

Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
Link copied to clipboard
abstract fun generatedBy(generatorTask: Task)
Link copied to clipboard
Link copied to clipboard
abstract fun getBuildTask(): Task
Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
abstract fun getParentName(): String
Link copied to clipboard
abstract fun getProjectPath(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun setBuildTask(buildTask: Task)