buildscript { repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:7.3.1") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21") } } plugins { id("com.android.library") id("org.jetbrains.kotlin.android") } android { namespace = "com.yunqiinnovation.volcano_speech" compileSdk = 35 defaultConfig { minSdk = 21 } compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = "11" } sourceSets { getByName("main") { manifest.srcFile("src/main/AndroidManifest.xml") java.srcDirs("src/main/kotlin") } } // 添加lint选项 lintOptions { isCheckReleaseBuilds = false } } dependencies { // Flutter插件依赖 // compileOnly("io.flutter:flutter_embedding_debug:1.0.0-a794cf2681") debugImplementation("io.flutter:flutter_embedding_debug:1.0.0-a794cf2681") releaseImplementation("io.flutter:flutter_embedding_release:1.0.0-a794cf2681") // 添加火山引擎语音合成SDK implementation("com.bytedance.speechengine:speechengine_tob:0.0.5") // implementation("com.bytedance.speechengine:speechengine_tts_tob:5.4.8") // implementation("com.bytedance.speechengine:speechengine_asr_tob:1.1.7") implementation(project(":speech")) } repositories { google() mavenCentral() }