Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimgoog/ComposeAppUsingPrereleaseComposeCompiler
Demonstrates using Compose with pre-releases of KotlinCompiler and ComposeCompiler
https://github.com/jimgoog/ComposeAppUsingPrereleaseComposeCompiler
Last synced: 4 months ago
JSON representation
Demonstrates using Compose with pre-releases of KotlinCompiler and ComposeCompiler
- Host: GitHub
- URL: https://github.com/jimgoog/ComposeAppUsingPrereleaseComposeCompiler
- Owner: jimgoog
- Created: 2022-02-09T14:59:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T21:33:18.000Z (about 1 year ago)
- Last Synced: 2024-10-10T12:38:37.402Z (4 months ago)
- Language: Kotlin
- Size: 132 KB
- Stars: 52
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using Compose Compiler to support different versions of Kotlin
For the purposes of testing, development, or just living on the edge... some people want to use
versions of Kotlin that are not yet officially supported by the Compose Compiler. For this purpose,
we publish some branches the Compose Compiler that follow various versions of the Kotlin Compiler.It is worth noting that these builds of the Compose Compiler typically undergo less testing than
the final builds published on Gmaven, so adopt at your own risk.# Compatibility table
To see a table of Kotlin versions and their matching Compose Compiler versions, check out the compatibility table on androidx.dev:
[https://androidx.dev/storage/compose-compiler/repository](https://androidx.dev/storage/compose-compiler/repository)# Project Configuration
This repository contains an example Compose project using pre-release builds of both the Kotlin and
the Compose Compiler, while pointing to stable versions of the Compose UI libraries.Specifically, there are two things to point out:
- [settings.gradle:17](https://github.com/jimgoog/ComposeAppUsingPrereleaseComposeCompiler/blob/main/settings.gradle#L17) adds the maven repository:
```
maven {
url "https://androidx.dev/storage/compose-compiler/repository/"
}
```
- [app/build.gradle:39](https://github.com/jimgoog/ComposeAppUsingPrereleaseComposeCompiler/blob/main/app/build.gradle#L39) specifies the compose compiler version:```
composeOptions {
kotlinCompilerExtensionVersion "1.5.5-dev-k2.0.0-Beta1-06b8ae672a4"
}
```