diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-22 13:55:25 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-22 14:55:46 +0100 |
commit | 9c4d01ad6cb1f54511d68a77634343c4c601c1b6 (patch) | |
tree | 4436601eebac47ebf0ded32c5f54967d68841025 /build.gradle | |
parent | 4d2c9b6a04cd0b72313a39c3b3a059b28efbbc20 (diff) | |
download | paste-android-9c4d01ad6cb1f54511d68a77634343c4c601c1b6.tar.gz paste-android-9c4d01ad6cb1f54511d68a77634343c4c601c1b6.tar.xz paste-android-9c4d01ad6cb1f54511d68a77634343c4c601c1b6.zip |
Basic minimal hello world application with gradle
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..50b67d5 --- /dev/null +++ b/build.gradle @@ -0,0 +1,41 @@ +buildscript { + ext { + compose_ui_version = '1.4.2' + } +} + +plugins { + id 'com.android.application' version '7.4.2' + id 'org.jetbrains.kotlin.android' version '1.8.20' +} + +android { + namespace 'ski.kramkow.paste' + compileSdk 33 + + defaultConfig { + applicationId "ski.kramkow.paste" + minSdk 21 + targetSdk 33 + versionCode 1 + versionName "1.0" + } + + buildFeatures { + compose true + } + composeOptions { + kotlinCompilerExtensionVersion '1.4.6' + } +} + +dependencies { + implementation 'androidx.core:core-ktx:1.10.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1' + implementation 'androidx.activity:activity-compose:1.7.1' + implementation "androidx.compose.ui:ui:$compose_ui_version" + implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version" + implementation 'androidx.compose.material:material:1.4.2' + debugImplementation "androidx.compose.ui:ui-tooling:$compose_ui_version" + debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version" +} |