gmazzo/gradle-buildconfig-plugin

Importing the generated File

TrueMB opened this issue · 1 comments

I am trying to get some values, but how do I know manage to get them?
It doesnt seem possible to import the class.

My build.gradle:

buildConfig {
    packageName("my.package")

    useKotlinOutput() 
    buildConfigField("String", "version", provider { "\"${project.version}\"" })
}

But the BuildConfig Class got generated in the build.
image

I think I fixed it with Resyncing the Project. Sorry for the bother!