With SpongeGradle 0.9, metadata was generated correctly from the Gradle project. After upgrading to 0.11, this is not the case any more.
Adding org.spongepowered.gradle.meta.bundle doesn't change the output, adding org.spongepowered.gradle.meta results in the error "Too many parameters provided for constructor for type MetadataBaseExtension. Expected 1, received 2.".
settings.gradle
rootProject.name = 'SGTest'
build.gradle
plugins {
id 'org.spongepowered.plugin' version '0.9.0'
}
archivesBaseName = 'sgtest'
version = '0.1'
description = "Test plugin for SpongeGradle"
dependencies {
compileOnly 'org.spongepowered:spongeapi:7.2.0'
annotationProcessor 'org.spongepowered:spongeapi:7.2.0'
}
src/main/java/SGTest.java
@org.spongepowered.api.plugin.Plugin(id="sgtest")
public class SGTest {}
With SpongeGradle 0.9, metadata was generated correctly from the Gradle project. After upgrading to 0.11, this is not the case any more.
Adding
org.spongepowered.gradle.meta.bundle
doesn't change the output, addingorg.spongepowered.gradle.meta
results in the error "Too many parameters provided for constructor for type MetadataBaseExtension. Expected 1, received 2.".settings.gradle
build.gradle
src/main/java/SGTest.java
mcmod.info output for 0.9
mcmod.info output for 0.11.5