File tree Expand file tree Collapse file tree
native_image_cropper_android/android Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ group = " biz.cosee.native_image_cropper_android"
2+ version = " 1.0-SNAPSHOT"
3+
4+ buildscript {
5+ val kotlinVersion = " 2.4.0"
6+
7+ repositories {
8+ google()
9+ mavenCentral()
10+ }
11+
12+ dependencies {
13+ classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion " )
14+ }
15+ }
16+
17+ allprojects {
18+ repositories {
19+ google()
20+ mavenCentral()
21+ }
22+ }
23+
24+ plugins {
25+ id(" com.android.library" )
26+ id(" org.jlleitschuh.gradle.ktlint" ) version " 14.2.0"
27+ }
28+
29+ val agpMajor = com.android.Version .ANDROID_GRADLE_PLUGIN_VERSION .substringBefore(' .' ).toInt()
30+ if (agpMajor < 9 ) {
31+ apply (plugin = " org.jetbrains.kotlin.android" )
32+ }
33+
34+ android {
35+ namespace = " biz.cosee.native_image_cropper_android"
36+ compileSdk = 36
37+
38+ compileOptions {
39+ sourceCompatibility = JavaVersion .VERSION_21
40+ targetCompatibility = JavaVersion .VERSION_21
41+ }
42+
43+ sourceSets {
44+ getByName(" main" ) {
45+ java.srcDirs(" src/main/kotlin" )
46+ }
47+ }
48+
49+ defaultConfig {
50+ minSdk = 24
51+ }
52+
53+ testOptions {
54+ unitTests.all {
55+ it.useJUnitPlatform()
56+ }
57+ }
58+ }
59+
60+ project.extensions.configure(org.jetbrains.kotlin.gradle.dsl.KotlinAndroidProjectExtension ::class .java) {
61+ compilerOptions {
62+ jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_21
63+ }
64+ }
65+
66+ dependencies {
67+ implementation(" androidx.exifinterface:exifinterface:1.4.2" )
68+ testImplementation(" org.jetbrains.kotlin:kotlin-test" )
69+ testImplementation(" org.junit.jupiter:junit-jupiter" )
70+ }
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ pluginManagement {
2+ repositories {
3+ google()
4+ mavenCentral()
5+ gradlePluginPortal()
6+ }
7+
8+ plugins {
9+ id(" com.android.library" ) version " 8.13.2"
10+ }
11+ }
12+
13+ rootProject.name = " native_image_cropper_android"
You can’t perform that action at this time.
0 commit comments