Browse Source
* Update versions in examples * Add more scripts to validate example on android and k/js * Add validateExamplesIos.sh * Update CHANGELOG.md for 1.3.0 * check examples with 1.3.0-rc06 * Update the versions: compose-multiplatform - 1.3.0, kotlin - 1.8.0 * Update ComposeCompilerCompatibility (1.4.0) * Update web/yarn.lockpull/2681/head
Oleksandr Karpovich
2 years ago
committed by
GitHub
54 changed files with 307 additions and 109 deletions
@ -1,2 +1,2 @@
|
||||
compose.version=1.2.2 |
||||
compose.version=1.3.0 |
||||
kotlin.code.style=official |
||||
|
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,4 +1,4 @@
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 |
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -0,0 +1,28 @@
|
||||
#!/bin/bash |
||||
|
||||
# Script to build most of the examples, to verify if they can compile. |
||||
# Don't add examples, which don't depend on maven.pkg.jetbrains.space, because they won't be able to compile. |
||||
|
||||
set -euo pipefail |
||||
|
||||
if [ "$#" -ne 2 ]; then |
||||
echo "Specify Compose and Kotlin version. For example: ./validateExamplesAndroid.sh 1.1.1 1.6.10" |
||||
exit 1 |
||||
fi |
||||
COMPOSE_VERSION=$1 |
||||
KOTLIN_VERSION=$2 |
||||
|
||||
|
||||
runGradle() { |
||||
pushd $1 |
||||
./gradlew $2 -Pcompose.version=$COMPOSE_VERSION -Pkotlin.version=$KOTLIN_VERSION --rerun-tasks |
||||
popd |
||||
} |
||||
|
||||
# requires an emulator running or an Android device to be connected |
||||
runGradle codeviewer installDebug |
||||
runGradle imageviewer installDebug |
||||
runGradle issues installDebug |
||||
runGradle todoapp-lite installDebug |
||||
runGradle widgets-gallery installDebug |
||||
runGradle todoapp installDebug |
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,5 +1,5 @@
|
||||
kotlin.stdlib.default.dependency=false |
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.10 |
||||
compose.version=1.2.0 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
||||
|
@ -0,0 +1,29 @@
|
||||
#!/bin/bash |
||||
|
||||
# Script to build most of the examples, to verify if they can compile. |
||||
# Don't add examples, which don't depend on maven.pkg.jetbrains.space, because they won't be able to compile. |
||||
|
||||
set -euo pipefail |
||||
|
||||
if [ "$#" -ne 2 ]; then |
||||
echo "Specify Compose and Kotlin version. For example: ./validateExamples.sh 1.1.1 1.6.10" |
||||
exit 1 |
||||
fi |
||||
COMPOSE_VERSION=$1 |
||||
KOTLIN_VERSION=$2 |
||||
|
||||
|
||||
runGradle() { |
||||
pushd $1 |
||||
./gradlew $2 -Pcompose.version=$COMPOSE_VERSION -Pkotlin.version=$KOTLIN_VERSION --rerun-tasks |
||||
popd |
||||
} |
||||
|
||||
runGradle chat-mpp packageDistributionForCurrentOS |
||||
runGradle codeviewer packageDistributionForCurrentOS |
||||
runGradle falling-balls-mpp packageDistributionForCurrentOS |
||||
runGradle imageviewer packageDistributionForCurrentOS |
||||
runGradle minesweeper packageDistributionForCurrentOS |
||||
runGradle todoapp-lite packageDistributionForCurrentOS |
||||
runGradle visual-effects packageDistributionForCurrentOS |
||||
runGradle widgets-gallery packageDistributionForCurrentOS |
@ -0,0 +1,29 @@
|
||||
#!/bin/bash |
||||
|
||||
# Script to build most of the examples, to verify if they can compile. |
||||
# Don't add examples, which don't depend on maven.pkg.jetbrains.space, because they won't be able to compile. |
||||
|
||||
set -euo pipefail |
||||
|
||||
if [ "$#" -ne 2 ]; then |
||||
echo "Specify Compose and Kotlin version. For example: ./validateExamplesAndroid.sh 1.1.1 1.6.10" |
||||
exit 1 |
||||
fi |
||||
COMPOSE_VERSION=$1 |
||||
KOTLIN_VERSION=$2 |
||||
|
||||
|
||||
runGradle() { |
||||
pushd $1 |
||||
./gradlew $2 -Pcompose.version=$COMPOSE_VERSION -Pkotlin.version=$KOTLIN_VERSION --rerun-tasks |
||||
popd |
||||
} |
||||
|
||||
runGradle chat-mpp installDebug |
||||
runGradle codeviewer installDebug |
||||
runGradle falling-balls-mpp installDebug |
||||
runGradle imageviewer installDebug |
||||
runGradle minesweeper installDebug |
||||
runGradle todoapp-lite installDebug |
||||
runGradle visual-effects installDebug |
||||
runGradle widgets-gallery installDebug |
@ -0,0 +1,41 @@
|
||||
#!/bin/bash |
||||
|
||||
# Script to build most of the examples, to verify if they can compile. |
||||
# Don't add examples, which don't depend on maven.pkg.jetbrains.space, because they won't be able to compile. |
||||
|
||||
set -euo pipefail |
||||
|
||||
if [ "$#" -ne 2 ]; then |
||||
echo "Specify Compose and Kotlin version. For example: ./validateExamplesIos.sh 1.1.1 1.6.10" |
||||
exit 1 |
||||
fi |
||||
COMPOSE_VERSION=$1 |
||||
KOTLIN_VERSION=$2 |
||||
|
||||
ARCH="$(uname -m)" |
||||
isX86="$ARCH"=="x86_64" |
||||
|
||||
linkCmd="" |
||||
|
||||
if [ isX86 ]; then |
||||
linkCmd="linkIosX64" |
||||
else |
||||
linkCmd="linkIosArm64" |
||||
fi |
||||
|
||||
|
||||
runGradle() { |
||||
pushd $1 |
||||
echo "Validating $1" |
||||
./gradlew clean $linkCmd -Pcompose.version=$COMPOSE_VERSION -Pkotlin.version=$KOTLIN_VERSION --rerun-tasks || (echo "Failed $1" && exit 1) |
||||
popd |
||||
} |
||||
|
||||
runGradle chat-mpp |
||||
runGradle codeviewer |
||||
runGradle falling-balls-mpp |
||||
runGradle imageviewer |
||||
runGradle todoapp-lite |
||||
runGradle visual-effects |
||||
runGradle widgets-gallery |
||||
runGradle minesweeper |
@ -0,0 +1,29 @@
|
||||
#!/bin/bash |
||||
|
||||
# Script to build most of the examples, to verify if they can compile. |
||||
# Don't add examples, which don't depend on maven.pkg.jetbrains.space, because they won't be able to compile. |
||||
|
||||
set -euo pipefail |
||||
|
||||
if [ "$#" -ne 2 ]; then |
||||
echo "Specify Compose and Kotlin version. For example: ./validateExamplesWithJs.sh 1.1.1 1.6.10" |
||||
exit 1 |
||||
fi |
||||
COMPOSE_VERSION=$1 |
||||
KOTLIN_VERSION=$2 |
||||
|
||||
|
||||
runGradle() { |
||||
pushd $1 |
||||
./gradlew $2 -Pcompose.version=$COMPOSE_VERSION -Pkotlin.version=$KOTLIN_VERSION --rerun-tasks |
||||
popd |
||||
} |
||||
|
||||
runGradle chat-mpp jsBrowserProductionWebpack |
||||
#runGradle codeviewer jsBrowserProductionWebpack |
||||
runGradle falling-balls-mpp jsBrowserProductionWebpack |
||||
#runGradle imageviewer jsBrowserProductionWebpack |
||||
runGradle minesweeper jsBrowserProductionWebpack |
||||
#runGradle todoapp-lite jsBrowserProductionWebpack |
||||
#runGradle visual-effects jsBrowserProductionWebpack |
||||
#runGradle widgets-gallery jsBrowserProductionWebpack |
@ -1,4 +1,4 @@
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 |
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1,4 +1,4 @@
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 |
||||
kotlin.code.style=official |
||||
kotlin.version=1.7.20 |
||||
compose.version=1.2.2 |
||||
kotlin.version=1.8.0 |
||||
compose.version=1.3.0 |
||||
|
@ -1 +1 @@
|
||||
kotlin.version=1.7.20 |
||||
kotlin.version=1.8.0 |
||||
|
@ -1,4 +1,4 @@
|
||||
compose.version=1.2.2 |
||||
compose.version=1.3.0 |
||||
compose.web.buildSamples=false |
||||
compose.web.tests.integration.withFirefox |
||||
compose.web.tests.skip.benchmarks=false |
||||
|
Loading…
Reference in new issue