Skip to content

Commit 12d59f8

Browse files
committed
chore: parallize all builds by default (#1438)
1 parent eaf653d commit 12d59f8

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
@@ -379,7 +379,7 @@ jobs:
379379
run: |
380380
# TODO - JVM only
381381
cd $GITHUB_WORKSPACE/smithy-kotlin
382-
./gradlew --parallel -Paws.kotlin.native=false publishToMavenLocal
382+
./gradlew -Paws.kotlin.native=false publishToMavenLocal
383383
SMITHY_KOTLIN_RUNTIME_VERSION=$(grep sdkVersion= gradle.properties | cut -d = -f 2)
384384
SMITHY_KOTLIN_CODEGEN_VERSION=$(grep codegenVersion= gradle.properties | cut -d = -f 2)
385385
cd $GITHUB_WORKSPACE/aws-sdk-kotlin
@@ -390,7 +390,7 @@ jobs:
390390
# smithy-kotlin should be
391391
sed -i "s/smithy-kotlin-runtime-version = .*$/smithy-kotlin-runtime-version = \"$SMITHY_KOTLIN_RUNTIME_VERSION\"/" gradle/libs.versions.toml
392392
sed -i "s/smithy-kotlin-codegen-version = .*$/smithy-kotlin-codegen-version = \"$SMITHY_KOTLIN_CODEGEN_VERSION\"/" gradle/libs.versions.toml
393-
./gradlew --parallel -Paws.kotlin.native=false publishToMavenLocal
393+
./gradlew -Paws.kotlin.native=false publishToMavenLocal
394394
./gradlew -Paws.kotlin.native=false test jvmTest
395395
./gradlew -Paws.kotlin.native=false testAllProtocols
396396
- 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)