[jira] [Commented] (NETBEANS-2735) Gradle - Custom tasks (in gradle.properties) do not propagate to sub-projects
[ https://issues.apache.org/jira/browse/NETBEANS-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917117#comment-16917117 ] Mathieu Fournier commented on NETBEANS-2735: It would be very useful in any project that contains lots of subprojects to avoid to recreate a custom task for every sub-project. * As a workaround for issue NETBEANS-2737 (we could override the "test" action on the root project and not have to do it on all sub-projects) * To be able to exclude "long" tests when running "test" action * Add a "build all" task that builds the project and compiles the tests * Any custom task that can apply to all sub-projects of a project... > Gradle - Custom tasks (in gradle.properties) do not propagate to sub-projects > - > > Key: NETBEANS-2735 > URL: https://issues.apache.org/jira/browse/NETBEANS-2735 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Windows 10 > NetBeans 11.0 > RedHat's OpenJDK 11.0 >Reporter: Mathieu Fournier >Assignee: Laszlo Kishalmi >Priority: Major > > When we create a task via the "Run Gradle"/"Tasks..." screen on the root > project, it won't show in the context menu for sub-projects. It is only > available on the root project. -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2781) Gradle - Formatting Options Shall (in gradle.properties) Propagate to Sub-Projects
[ https://issues.apache.org/jira/browse/NETBEANS-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mathieu Fournier updated NETBEANS-2781: --- Summary: Gradle - Formatting Options Shall (in gradle.properties) Propagate to Sub-Projects (was: Gradle - Formatting Options Shall (in gralde.properties) Propagate to Sub-Projects) > Gradle - Formatting Options Shall (in gradle.properties) Propagate to > Sub-Projects > -- > > Key: NETBEANS-2781 > URL: https://issues.apache.org/jira/browse/NETBEANS-2781 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > NetBeans 11.0, NetBeans 11.1 >Reporter: Martin Grzenia >Assignee: Laszlo Kishalmi >Priority: Major > > When setting some formatting options on the root project, subprojects won't > make use of them. Every subproject needs to have its own gradle.properties > file/formatting options set for this to work. > It would be great if subprojects would inherit the root project's formatting > options (or just the entire gradle.properties) with the option to override > settings in a subproject-specific gradle.properties file. > Maybe this is related to > [this|https://issues.apache.org/jira/browse/NETBEANS-2756?focusedCommentId=16874179&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16874179] > in any way? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2781) Gradle - Formatting Options Shall (in gralde.properties) Propagate to Sub-Projects
[ https://issues.apache.org/jira/browse/NETBEANS-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876268#comment-16876268 ] Mathieu Fournier commented on NETBEANS-2781: Could this be related in some way to NETBEANS-2735? > Gradle - Formatting Options Shall (in gralde.properties) Propagate to > Sub-Projects > -- > > Key: NETBEANS-2781 > URL: https://issues.apache.org/jira/browse/NETBEANS-2781 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > NetBeans 11.0, NetBeans 11.1 >Reporter: Martin Grzenia >Assignee: Laszlo Kishalmi >Priority: Major > > When setting some formatting options on the root project, subprojects won't > make use of them. Every subproject needs to have its own gradle.properties > file/formatting options set for this to work. > It would be great if subprojects would inherit the root project's formatting > options (or just the entire gradle.properties) with the option to override > settings in a subproject-specific gradle.properties file. > Maybe this is related to > [this|https://issues.apache.org/jira/browse/NETBEANS-2756?focusedCommentId=16874179&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16874179] > in any way? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-2737) Gradle - Test task - Recompiles everything every time
Mathieu Fournier created NETBEANS-2737: -- Summary: Gradle - Test task - Recompiles everything every time Key: NETBEANS-2737 URL: https://issues.apache.org/jira/browse/NETBEANS-2737 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 11.0 Environment: Windows 10 NetBeans 11.0 Gradle 5.4 RedHat's OpenJDK 11 Reporter: Mathieu Fournier Assignee: Laszlo Kishalmi In NetBeans 11.0, for a Gradle Project, when we run task "Test", it passes the parameter "--rerun-tasks" which will recompile every dependencies for the test even if no changes were made. In NetBeans 8.2 with Gradle Plugin (1.4.4), it called ":ProjectName:cleanTests :ProjectName:test". I can override the "test" task so that it doesn't pass the "--rerun-tasks", but with issue NETBEANS-2735, I would need to do it for every sub-project... Also, with bug NETBEANS-2736, we cannot override "debug.test.single" and "test.single" to remove the "--rerun-tasks". -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists