diff options
Diffstat (limited to 'wear/build.gradle')
-rw-r--r-- | wear/build.gradle | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/wear/build.gradle b/wear/build.gradle new file mode 100644 index 0000000..b92a048 --- /dev/null +++ b/wear/build.gradle @@ -0,0 +1,83 @@ +plugins { + id 'com.android.application' + id 'org.jetbrains.kotlin.android' + id 'org.jetbrains.kotlin.plugin.serialization' +} + +android { + namespace 'dev.equestria.pluralwear' + compileSdk 33 + + defaultConfig { + applicationId "dev.equestria.pluralwear" + minSdk 30 + targetSdk 33 + versionCode 1 + versionName "1.0" + vectorDrawables { + useSupportLibrary true + } + + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = '1.8' + } + buildFeatures { + compose true + } + composeOptions { + kotlinCompilerExtensionVersion '1.3.2' + } + packagingOptions { + resources { + excludes += '/META-INF/{AL2.0,LGPL2.1}' + } + } +} + +dependencies { + implementation 'androidx.core:core-ktx:1.9.0' + implementation 'com.google.android.gms:play-services-wearable:18.0.0' + implementation 'androidx.percentlayout:percentlayout:1.0.0' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.2.1' + implementation platform('androidx.compose:compose-bom:2022.10.00') + implementation 'androidx.compose.ui:ui' + implementation 'androidx.compose.ui:ui-tooling-preview' + implementation "androidx.wear.compose:compose-material:$wear_compose_version" + implementation "androidx.wear.compose:compose-foundation:$wear_compose_version" + implementation "androidx.wear.compose:compose-navigation:$wear_compose_version" + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' + implementation 'androidx.activity:activity-compose:1.6.1' + implementation "androidx.wear.tiles:tiles:$wear_tiles_version" + implementation "androidx.wear.tiles:tiles-material:$wear_tiles_version" + implementation "com.google.android.horologist:horologist-compose-tools:$horologist_version" + implementation "com.google.android.horologist:horologist-tiles:$horologist_version" + implementation 'androidx.wear.watchface:watchface-complications-data-source-ktx:1.1.1' + implementation "androidx.work:work-runtime-ktx:$work_version" + implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.4.0" + implementation 'androidx.preference:preference:1.2.0' + implementation "androidx.fragment:fragment-ktx:$fragment_version" + implementation "io.ktor:ktor-client-core:$ktor_version" + implementation "io.ktor:ktor-client-cio:$ktor_version" + implementation "io.ktor:ktor-client-content-negotiation:$ktor_version" + implementation "io.ktor:ktor-serialization-kotlinx-json:$ktor_version" + implementation "com.squareup.picasso:picasso:$picasso_version" + implementation "com.makeramen:roundedimageview:2.3.0" + androidTestImplementation platform('androidx.compose:compose-bom:2022.10.00') + androidTestImplementation 'androidx.compose.ui:ui-test-junit4' + debugImplementation 'androidx.compose.ui:ui-tooling' + debugImplementation 'androidx.compose.ui:ui-test-manifest' + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.4' +}
\ No newline at end of file |