Skip to content

Commit

Permalink
Compose 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
igordmn committed Dec 14, 2022
1 parent e5a41fc commit 1bfe42e
Show file tree
Hide file tree
Showing 25 changed files with 64 additions and 25 deletions.
2 changes: 1 addition & 1 deletion ci/compose-uber-jar/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
compose.version=1.2.2-rc01
compose.version=1.2.2
kotlin.code.style=official
2 changes: 1 addition & 1 deletion components/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kotlin.code.style=official
# __KOTLIN_COMPOSE_VERSION__
kotlin.version=1.7.20
# __LATEST_COMPOSE_RELEASE_VERSION__
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/codeviewer/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ android.enableJetifier=true
kotlin.code.style=official
kotlin.version=1.7.20
agp.version=7.1.3
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/falling-balls/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/imageviewer/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ android.enableJetifier=true
kotlin.code.style=official
kotlin.version=1.7.20
agp.version=7.1.3
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/intellij-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/issues/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin.version=1.7.20
agp.version=7.1.3
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/notepad/gradle.properties
Original file line number Diff line number Diff line change
@@ -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-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/todoapp-lite/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ android.enableJetifier=true
kotlin.code.style=official
kotlin.version=1.7.20
agp.version=7.1.3
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/todoapp/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ kotlin.native.disableCompilerDaemon=true
# in Android module (search "Workaround for https://github.com/JetBrains/compose-jb/issues/2340")
#TODO also change version in buildSrc/gradle.properties
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/visual-effects/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/web-compose-bird/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/web-compose-in-js/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
kotlin.js.webpack.major.version=4
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/web-landing/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/web-with-react/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion examples/widgets-gallery/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.version=1.7.20
compose.version=1.2.2-rc01
compose.version=1.2.2
agp.version=7.1.3
39 changes: 39 additions & 0 deletions experimental/examples/codeviewer/shared/shared.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Pod::Spec.new do |spec|
spec.name = 'shared'
spec.version = '1.0-SNAPSHOT'
spec.homepage = 'https://github.com/JetBrains/compose-jb'
spec.source = { :http=> ''}
spec.authors = ''
spec.license = ''
spec.summary = 'Shared code for the sample'
spec.vendored_frameworks = 'build/cocoapods/framework/shared.framework'
spec.libraries = 'c++'
spec.ios.deployment_target = '14.1'


spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':shared',
'PRODUCT_MODULE_NAME' => 'shared',
}

spec.script_phases = [
{
:name => 'Build shared',
:execution_position => :before_compile,
:shell_path => '/bin/sh',
:script => <<-SCRIPT
if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
exit 0
fi
set -ev
REPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework \
-Pkotlin.native.cocoapods.platform=$PLATFORM_NAME \
-Pkotlin.native.cocoapods.archs="$ARCHS" \
-Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
SCRIPT
}
]
spec.resources = ['src/commonMain/resources/**', 'src/iosMain/resources/**']
end
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ private const val KOTLIN_COMPATABILITY_LINK =
internal object ComposeCompilerCompatability {
private val kotlinToCompiler = sortedMapOf(
"1.7.10" to "1.3.0",
"1.7.20" to "1.3.2.2-beta01",
"1.7.20" to "1.3.2.2",
)

fun compilerVersionFor(kotlinVersion: String): String {
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugins/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.parallel=true
kotlin.code.style=official

# Default version of Compose Libraries used by Gradle plugin
compose.version=1.2.2-rc01
compose.version=1.2.2
# The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI.
compose.tests.compiler.version=1.3.2.1
# The latest version of Kotlin compatible with compose.tests.compiler.version. Used only in tests/CI.
Expand Down
2 changes: 1 addition & 1 deletion templates/desktop-template/gradle.properties
Original file line number Diff line number Diff line change
@@ -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-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion templates/multiplatform-template/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ android.enableJetifier=true
kotlin.code.style=official
kotlin.version=1.7.20
agp.version=7.1.3
compose.version=1.2.2-rc01
compose.version=1.2.2
2 changes: 1 addition & 1 deletion templates/web-template/gradle.properties
Original file line number Diff line number Diff line change
@@ -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-rc01
compose.version=1.2.2
4 changes: 2 additions & 2 deletions tutorials/Getting_Started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ For the latest versions, see the [latest versions](https://github.com/JetBrains/
```
plugins {
kotlin("jvm") version "1.7.20"
id("org.jetbrains.compose") version "1.2.2-rc01"
id("org.jetbrains.compose") version "1.2.2"
}
```

Expand Down Expand Up @@ -79,7 +79,7 @@ Then create `build.gradle.kts` with the following content:
``` kotlin
plugins {
kotlin("jvm") version "1.7.20"
id("org.jetbrains.compose") version "1.2.2-rc01"
id("org.jetbrains.compose") version "1.2.2"
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Web/Getting_Started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pluginManagement {
// Add compose gradle plugin
plugins {
kotlin("multiplatform") version "1.7.20"
id("org.jetbrains.compose") version "1.2.2-rc01"
id("org.jetbrains.compose") version "1.2.2"
}

// Add maven repositories
Expand Down
2 changes: 1 addition & 1 deletion web/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
compose.version=1.2.2-rc01
compose.version=1.2.2
compose.web.buildSamples=false
compose.web.tests.integration.withFirefox
compose.web.tests.skip.benchmarks=false

0 comments on commit 1bfe42e

Please sign in to comment.