mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651)
* 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.lock
This commit is contained in:
committed by
GitHub
parent
8f3beed1fa
commit
bc6d42ef44
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.2.1
|
||||
compose.version=1.3.0
|
||||
|
||||
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.3.0-beta04-dev885
|
||||
compose.version=1.3.0
|
||||
|
||||
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.2.1
|
||||
compose.version=1.3.0
|
||||
|
||||
@@ -12,7 +12,7 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.2.2
|
||||
compose.version=1.3.0
|
||||
ktor.version=2.2.1
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.3.0-beta04-dev885
|
||||
compose.version=1.3.0
|
||||
|
||||
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.2.1
|
||||
compose.version=1.3.0
|
||||
|
||||
29
experimental/examples/validateExamples.sh
Normal file
29
experimental/examples/validateExamples.sh
Normal file
@@ -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
|
||||
29
experimental/examples/validateExamplesAndroid.sh
Normal file
29
experimental/examples/validateExamplesAndroid.sh
Normal file
@@ -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
|
||||
41
experimental/examples/validateExamplesIos.sh
Executable file
41
experimental/examples/validateExamplesIos.sh
Executable file
@@ -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
|
||||
29
experimental/examples/validateExamplesWithJs.sh
Normal file
29
experimental/examples/validateExamplesWithJs.sh
Normal file
@@ -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
|
||||
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.2.1
|
||||
compose.version=1.3.0
|
||||
|
||||
@@ -12,6 +12,6 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.7.20
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.2.1
|
||||
compose.version=1.3.0
|
||||
|
||||
Reference in New Issue
Block a user