Skip to content

Error when setting makeFile #7

@ghost

Description

Error:

Exception thrown while executing model rule: ExternalBuildPlugin.Rules#configureExternalBuildTask(Task, ExternalBuildPlugin.ExternalBuildSpec)
> No signature of method: static com.cisco.gradle.externalbuild.tasks.GnuMake.setMakefile() is applicable for argument types: (java.io.File) values: [path/to/file/file.mak]
  Possible solutions: setMakefile(java.io.File), getMakefile(), makefile(java.lang.Object)

Sample Build Script

apply plugin: 'com.cisco.external-build'
import com.cisco.gradle.externalbuild.ExternalNativeLibrarySpec
import com.cisco.gradle.externalbuild.tasks.GnuMake

model {
    components {
        foo(ExternalNativeLibrarySpec) {
            buildConfig(GnuMake) {
                makeFile 'path/to/file/file.mak'
                targets 'all', 'build', 'debug', 'clean', 'prep'
            }
        }
    }
}

Description

Unable to use plugin successfully, all attempts result in the same error. Attempted to use various methods of setting the make file. I'm unsure if it is operator error, lacking documentation, or a bug. Using version 1.14 of plugin and gradle version 4.10.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions