mirror of
https://github.com/plexusorg/plugin-yml.git
synced 2024-12-22 08:15:08 +00:00
Check for JavaPlugin instead of JavaBasePlugin when looking for processResources
Change version to 0.2.1-SNAPSHOT
This commit is contained in:
parent
5b27604114
commit
66df17c5a0
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
group = net.minecrell
|
||||
name = plugin-yml
|
||||
version = 0.3.0-SNAPSHOT
|
||||
version = 0.2.1-SNAPSHOT
|
||||
description = A Gradle plugin that generates plugin.yml for Bukkit/BungeeCord plugins based on the Gradle project
|
||||
url = https://github.com/Minecrell/plugin-yml
|
||||
|
|
|
@ -25,7 +25,7 @@ package net.minecrell.pluginyml
|
|||
|
||||
import org.gradle.api.Plugin
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.plugins.JavaBasePlugin
|
||||
import org.gradle.api.plugins.JavaPlugin
|
||||
import org.gradle.api.tasks.AbstractCopyTask
|
||||
import org.gradle.kotlin.dsl.getValue
|
||||
import org.gradle.kotlin.dsl.task
|
||||
|
@ -53,7 +53,7 @@ abstract class PlatformPlugin<T : Serializable>(private val platformName: String
|
|||
prepare(project, description)
|
||||
}
|
||||
|
||||
plugins.withType<JavaBasePlugin> {
|
||||
plugins.withType<JavaPlugin> {
|
||||
val processResources: AbstractCopyTask by tasks
|
||||
processResources.from(generateTask)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue