build.gradle.kts 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. plugins {
  2. id("com.android.application")
  3. }
  4. android {
  5. namespace = "com.ch.jedge.llm.filter.glm"
  6. compileSdk = 33
  7. defaultConfig {
  8. applicationId = "com.ch.jedge.llm.filter.glm"
  9. minSdk = 24
  10. targetSdk = 33
  11. versionCode = 1
  12. versionName = "1.0"
  13. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  14. externalNativeBuild {
  15. cmake {
  16. cppFlags += ""
  17. abiFilters("armeabi-v7a")
  18. }
  19. }
  20. ndk {
  21. abiFilters.add("armeabi-v7a")
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. isMinifyEnabled = false
  27. proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
  28. }
  29. }
  30. compileOptions {
  31. sourceCompatibility = JavaVersion.VERSION_1_8
  32. targetCompatibility = JavaVersion.VERSION_1_8
  33. }
  34. externalNativeBuild {
  35. cmake {
  36. path = file("src/main/cpp/CMakeLists.txt")
  37. version = "3.22.1"
  38. }
  39. }
  40. }
  41. dependencies {
  42. implementation("androidx.appcompat:appcompat:1.6.1")
  43. implementation("com.google.android.material:material:1.8.0")
  44. implementation("androidx.constraintlayout:constraintlayout:2.1.4")
  45. implementation(files("libs\\qlibj.jar"))
  46. implementation(files("libs\\jedge.jar"))
  47. implementation(files("libs\\jesock.jar"))
  48. implementation(files("libs\\fastjson-1.2.28.jar"))
  49. implementation(files("libs\\okhttp-3.14.9.jar"))
  50. implementation(files("libs\\okhttp-sse-3.14.9.jar"))
  51. implementation(files("libs\\druid-1.2.4.jar"))
  52. implementation(files("libs\\commons-math3-3.6.1.jar"))
  53. implementation(files("libs\\slf4j-api-1.7.30.jar"))
  54. implementation(files("libs\\gson-2.8.9.jar"))
  55. implementation(files("libs\\okio-1.17.2.jar"))
  56. implementation(files("libs\\java-jwt-4.2.2.jar"))
  57. implementation(files("libs\\jackson-annotations-2.12.7.jar"))
  58. implementation(files("libs\\jackson-core-2.12.7.jar"))
  59. implementation(files("libs\\jackson-databind-2.12.7.1.jar"))
  60. implementation(files("libs\\CH_TVOS.jar"))
  61. testImplementation("junit:junit:4.13.2")
  62. androidTestImplementation("androidx.test.ext:junit:1.1.5")
  63. androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
  64. }