gradle-retrolambda
gradle-retrolambda copied to clipboard
Plugin id 'com.android.application' not found in no-android projects in 3.2.3
I'm trying to use RetroLambda with my Minecraft mod. (here), when using version 3.1.0 everything is fine. But when I bumped the version to 3.2.3 I get this error:
A problem occured evaluating root project `AcademyCraft`.
> Plugin with id 'com.andoid.application' not found.
Also, is default methods supported in 3.1.0? I get runtime error using default methods with JRE8 and had to change some interfaces to abstract class.
I'll look into it, plain java modules should be supported, have you compared what you are doing to the sample java module? Default methods are supported but they are not enabled by default because they aren't compatible with incremental compilation. You just have to do
retrolambda {
defaultMethods true
}
Well, building MC(actually, MinecraftForge) mods is really different from building plain java projects. We typically use ForgeGradle to assist building. It does a bunch of additional stuffs such as build-time obfuscation, so I can't be really sure which part is breaking the build. I don't think we used more customizations other than that.
Also I think it should be a build-time error if default methods are present but the settings are not enabled.