Viewing is open to everyone. Downloading and starring need a GitHub sign-in.
Sign in with GitHub
build.gradle.kts
v0.1.0-build.85
Latest
Commit ede38f5
Sign in with GitHub to download. Each download is recorded with your GitHub username.
| 1 | // org.openckey:ckey-camerax — CameraX ImageAnalysis.Analyzer (CKeyAnalyzer). Optional. |
| 2 | plugins { |
| 3 | alias(libs.plugins.android.library) |
| 4 | alias(libs.plugins.kotlin.android) |
| 5 | `maven-publish` |
| 6 | } |
| 7 | |
| 8 | description = "CameraX analyzer for the CKey Android SDK." |
| 9 | |
| 10 | android { |
| 11 | namespace = "org.openckey.ckey.camerax" |
| 12 | compileSdk = 34 |
| 13 | defaultConfig { minSdk = 24 } |
| 14 | compileOptions { |
| 15 | sourceCompatibility = JavaVersion.VERSION_17 |
| 16 | targetCompatibility = JavaVersion.VERSION_17 |
| 17 | } |
| 18 | publishing { singleVariant("release") { withSourcesJar() } } |
| 19 | } |
| 20 | |
| 21 | kotlin { |
| 22 | compilerOptions { jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17) } |
| 23 | } |
| 24 | |
| 25 | dependencies { |
| 26 | api(project(":ckey")) |
| 27 | // compileOnly would force apps to add CameraX themselves; they need it anyway to bind a camera. |
| 28 | api(libs.camerax.core) |
| 29 | } |