
com.github.jchanghong.addMyTasks.kt Maven / Gradle / Ivy
The newest version!
package com.github.jchanghong
import org.gradle.api.Project
internal fun addMyTasks(project: Project, myExtension: JchPluginExtension) {
for (softwareComponent in project.components) {
log2(softwareComponent.name, project, myExtension.logInfo)
}
// log2("addMyTasks()", project)
// Add the 'testplugin' extension object
//
// Register a task
// project.tasks.register("testplugin") { task ->
// task.doLast {
// println(" ${myExtension.message} Hello from plugin 'com.github.jchanghong.testplugin'")
// }
// }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy