This project has moved to https://gitlab.com/ysb33rOrg/gradle/gnumake-gradle-plugin
ysb33r / gnumake-gradle-plugin Goto Github PK
View Code? Open in Web Editor NEWRunning GNU Make from Gradle
License: Apache License 2.0
Running GNU Make from Gradle
License: Apache License 2.0
This project has moved to https://gitlab.com/ysb33rOrg/gradle/gnumake-gradle-plugin
Variables such as FOO=bar
needs to be quoted as "FOO=bar"
under Windows otehrwise they end up as FOO bar
.
Although most of make
can be controlled via command-line flags, there are some cases where things need to be set in the environment. This is especially the case where the executable
is used to slip in a script between Gradle and make. It would be nice to some like
make {
environment foo : 'bar'
}
in a similar fashion as what can be done for Exec
and JavaExec
task types.
The plugin is not compatible with Gradle 7.2.0
Some problems were found with the configuration of task (type 'GnuMakeBuild').
- In plugin 'org.ysb33r.gradle.gnumake.GnuMakePlugin' type 'org.ysb33r.gradle.gnumake.GnuMakeBuild' property 'alwaysMake' has redundant getters: 'getAlwaysMake()' and 'isAlwaysMake()'.
Reason: Boolean property 'alwaysMake' has both an `is` and a `get` getter.
Possible solutions:
1. Remove one of the getters.
2. Annotate one of the getters with @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#redundant_getters for more details about this problem.
- In plugin 'org.ysb33r.gradle.gnumake.GnuMakePlugin' type 'org.ysb33r.gradle.gnumake.GnuMakeBuild' property 'buildFile' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'org.ysb33r.gradle.gnumake.GnuMakePlugin' type 'org.ysb33r.gradle.gnumake.GnuMakeBuild' property 'chDir' has @Input annotation used on property of type 'File'.
Reason: A property of type 'File' annotated with @Input cannot determine how to interpret the file.
Possible solutions:
1. Annotate with @InputFile for regular files.
2. Annotate with @InputDirectory for directories.
3. If you want to track the path, return File.absolutePath as a String and keep @Input.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#incorrect_use_of_input_annotation for more details about this problem.
- In plugin 'org.ysb33r.gradle.gnumake.GnuMakePlugin' type 'org.ysb33r.gradle.gnumake.GnuMakeBuild' property 'cmdArgs' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'org.ysb33r.gradle.gnumake.GnuMakePlugin' type 'org.ysb33r.gradle.gnumake.GnuMakeBuild' property 'dir' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
java.lang.NoSuchMethodError: org.gradle.util.CollectionUtils.stringize(Ljava/util/List;)Ljava/util/List;
at org.ysb33r.gradle.gnumake.GnuMakeBuild.getTargets(GnuMakeBuild.groovy:101)
at org.ysb33r.gradle.gnumake.GnuMakeBuild_Decorated.getTargets(Unknown Source)
Was running with JDK 1.8 and Gradle 2.3.
Hi are you planning to release a version pegged to gradle v 2.12 anytime soon? I have tried using this plugin with 2.12 and get some NoSuchMethodErrors for certain methods like targets
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.