-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (32 loc) · 1005 Bytes
/
build.gradle.kts
File metadata and controls
41 lines (32 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
plugins {
id("com.android.library")
id("kotlin-android")
id("kotlin-parcelize")
}
android {
namespace = "com.itsaky.androidide.plugins.api"
compileSdk = 35
defaultConfig {
minSdk = 28
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
}
dependencies {
// Only include Android context for basic Android functionality
compileOnly("androidx.appcompat:appcompat:1.6.1")
compileOnly("androidx.fragment:fragment-ktx:1.6.2")
compileOnly("com.google.android.material:material:1.11.0")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
}
tasks.register<Copy>("createPluginApiJar") {
dependsOn("assembleRelease")
from(layout.buildDirectory.file("intermediates/aar_main_jar/release/syncReleaseLibJars/classes.jar"))
into(layout.buildDirectory.dir("libs"))
rename { "plugin-api-1.0.0.jar" }
}