mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 01:35:17 +08:00
41 lines
1021 B
Plaintext
41 lines
1021 B
Plaintext
plugins {
|
|
autowire(libs.plugins.kotlin.jvm)
|
|
autowire(libs.plugins.kotlin.ksp)
|
|
autowire(libs.plugins.maven.publish)
|
|
}
|
|
|
|
group = property.project.groupName
|
|
version = property.project.yukihookapi.ksp.xposed.version
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
sourceSets.getByName("main") {
|
|
kotlin.srcDir("src/api/kotlin")
|
|
}
|
|
compilerOptions {
|
|
freeCompilerArgs = listOf(
|
|
"-Xno-param-assertions",
|
|
"-Xno-call-assertions",
|
|
"-Xno-receiver-assertions"
|
|
)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(com.google.auto.service.auto.service.annotations)
|
|
compileOnly(com.google.devtools.ksp.symbol.processing.api)
|
|
ksp(dev.zacsweers.autoservice.auto.service.ksp)
|
|
}
|
|
|
|
mavenPublishing {
|
|
coordinates(
|
|
groupId = group.toString(),
|
|
artifactId = property.project.yukihookapi.ksp.xposed.moduleName,
|
|
version = version.toString()
|
|
)
|
|
} |