mfuerstenau / gradle-buildconfig-plugin

A BuildConfig plugin for Gradle java projects
MIT License
173 stars 20 forks source link

Manual task wiring documentation doesn't work as-is #19

Open michelau opened 6 years ago

michelau commented 6 years ago

https://github.com/mfuerstenau/gradle-buildconfig-plugin#manual-task-wiring

task generateBuildConfig (type: de.fuerstenau.buildconfig.GenerateBuildConfigTask) {
...
}

The above class doesn't resolve and Gradle throws an (unhelpful) error. The problem is the package name is incorrect. It should be as follows:

task generateBuildConfig(type: de.fuerstenau.gradle.buildconfig.GenerateBuildConfigTask) {
...
}
Janrupf commented 6 years ago

That saved me :+1: