Files
VibeCoding_ComposeRemote/ComposeRemoteAndroid/app/build.gradle
T
tongtong 5c5585debe build: Remote Compose 升级到 1.0.0-alpha24
- Android 播放端 remote-core / remote-player-core / remote-player-view 升到 alpha24
- 服务端 remote-creation-jvm 升到 alpha24,源码无需改动
- 首页技术栈文案与 k8s 镜像 tag 同步为 alpha24
- AGENTS.md 版本表与一致性约定更新,修正过时的硬编码地址描述
2026-11-24 11:35:53 +08:00

63 lines
2.0 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.compose)
}
android {
namespace 'com.ttstd.composeremote'
compileSdk {
version = release(36) {
minorApiLevel = 1
}
}
defaultConfig {
applicationId "com.ttstd.composeremote"
minSdk 29
targetSdk 36
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
buildFeatures {
compose true
}
}
dependencies {
implementation platform(libs.androidx.compose.bom)
implementation libs.androidx.activity.compose
implementation libs.androidx.compose.material3
implementation libs.androidx.compose.ui
implementation libs.androidx.compose.ui.graphics
implementation libs.androidx.compose.ui.tooling.preview
implementation libs.androidx.core.ktx
implementation libs.androidx.lifecycle.runtime.ktx
testImplementation libs.junit
androidTestImplementation platform(libs.androidx.compose.bom)
androidTestImplementation libs.androidx.compose.ui.test.junit4
androidTestImplementation libs.androidx.espresso.core
androidTestImplementation libs.androidx.junit
debugImplementation libs.androidx.compose.ui.test.manifest
debugImplementation libs.androidx.compose.ui.tooling
// Remote Compose Player(view 版,参考 remotecompose-android 的集成方式)
implementation("androidx.compose.remote:remote-core:1.0.0-alpha24")
implementation("androidx.compose.remote:remote-player-core:1.0.0-alpha24")
implementation("androidx.compose.remote:remote-player-view:1.0.0-alpha24")
// OkHttp 用于请求二进制 payload
implementation("com.squareup.okhttp3:okhttp:4.12.0")
}