Skip to content

Commit 812132b

Browse files
committed
Fixing gradle to allow parallel builds with mvnd
1 parent afd0b65 commit 812132b

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
# Disable the Gradle daemon so this module works correctly in parallel Maven builds (mvnd).
17+
# Daemon startup conflicts with the Maven daemon environment and parallel module execution.
18+
org.gradle.daemon=false

cayenne-gradle-plugin/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<arguments>
9595
<argument>clean</argument>
9696
<argument>${gradle.task}</argument>
97+
<argument>--no-daemon</argument>
9798
</arguments>
9899
</configuration>
99100
<goals>

0 commit comments

Comments
 (0)