Last active
October 13, 2019 15:29
-
-
Save kirich1409/73159a085eca71ac608019728f5929e3 to your computer and use it in GitHub Desktop.
Jetpack Compose build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-kapt' | |
android { | |
compileSdkVersion 29 | |
buildToolsVersion "29.0.2" | |
defaultConfig { | |
applicationId "by.kirich1409.sample.jetpackcompose" | |
minSdkVersion 21 | |
targetSdkVersion 29 | |
versionCode 1 | |
versionName "1.0" | |
} | |
} | |
def compose_version = "0.1.0-dev01" | |
dependencies { | |
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7" | |
// Add kotlin-reflect library | |
implementation "org.jetbrains.kotlin:kotlin-reflect" | |
implementation 'androidx.appcompat:appcompat:1.1.0' | |
implementation "androidx.compose:compose-runtime:$compose_version" | |
kapt "androidx.compose:compose-compiler:$compose_version" | |
implementation "androidx.ui:ui-layout:$compose_version" | |
implementation "androidx.ui:ui-android-text:$compose_version" | |
implementation "androidx.ui:ui-text:$compose_version" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment