Skip to content

Commit 0c2add0

Browse files
authored
chore: parallize all builds by default (#1438)
1 parent 909fdb3 commit 0c2add0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ jobs:
369369
run: |
370370
# TODO - JVM only
371371
cd $GITHUB_WORKSPACE/smithy-kotlin
372-
./gradlew --parallel -Paws.kotlin.native=false publishToMavenLocal
372+
./gradlew -Paws.kotlin.native=false publishToMavenLocal
373373
SMITHY_KOTLIN_RUNTIME_VERSION=$(grep sdkVersion= gradle.properties | cut -d = -f 2)
374374
SMITHY_KOTLIN_CODEGEN_VERSION=$(grep codegenVersion= gradle.properties | cut -d = -f 2)
375375
cd $GITHUB_WORKSPACE/aws-sdk-kotlin
@@ -380,7 +380,7 @@ jobs:
380380
# smithy-kotlin should be
381381
sed -i "s/smithy-kotlin-runtime-version = .*$/smithy-kotlin-runtime-version = \"$SMITHY_KOTLIN_RUNTIME_VERSION\"/" gradle/libs.versions.toml
382382
sed -i "s/smithy-kotlin-codegen-version = .*$/smithy-kotlin-codegen-version = \"$SMITHY_KOTLIN_CODEGEN_VERSION\"/" gradle/libs.versions.toml
383-
./gradlew --parallel -Paws.kotlin.native=false publishToMavenLocal
383+
./gradlew -Paws.kotlin.native=false publishToMavenLocal
384384
./gradlew -Paws.kotlin.native=false test jvmTest
385385
./gradlew -Paws.kotlin.native=false testAllProtocols
386386
- name: Calculate duration

builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"build_dir": "target/build",
1515
"build_steps": [
16-
"{gradlew} assemble --parallel"
16+
"{gradlew} assemble"
1717
],
1818
"post_build_steps": [
1919
"{gradlew} publishToMavenLocal"

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ kotlinx.atomicfu.enableNativeIrTransformation=false
1212

1313
# gradle
1414
org.gradle.jvmargs=-Xmx2G -XX:MaxMetaspaceSize=1G
15+
org.gradle.parallel=true
1516

1617
# SDK
1718
sdkVersion=1.5.15-SNAPSHOT

0 commit comments

Comments
 (0)