Add lint module
This commit is contained in:
parent
8842af1b79
commit
f9236fb1c1
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id("com.android.library")
|
||||
id("maven-publish")
|
||||
id("signing")
|
||||
alias(libs.plugins.agp.lib)
|
||||
`maven-publish`
|
||||
signing
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -93,4 +93,5 @@ signing {
|
|||
|
||||
dependencies {
|
||||
compileOnly("androidx.annotation:annotation:1.6.0")
|
||||
lintPublish(project(":checks"))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
/build
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
plugins {
|
||||
java
|
||||
alias(libs.plugins.kotlin)
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.lint.api)
|
||||
compileOnly(libs.lint.checks)
|
||||
compileOnly(libs.kotlin.stdlib)
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[versions]
|
||||
kotlin = "1.8.20"
|
||||
lint = "31.0.2"
|
||||
agp = "8.0.2"
|
||||
|
||||
[plugins]
|
||||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||
agp-lib = { id = "com.android.library", version.ref = "agp" }
|
||||
|
||||
[libraries]
|
||||
lint-api = { module = "com.android.tools.lint:lint-api", version.ref = "lint" }
|
||||
lint-checks = { module = "com.android.tools.lint:lint-checks", version.ref = "lint" }
|
||||
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
|
||||
|
||||
|
|
@ -4,9 +4,6 @@ pluginManagement {
|
|||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
plugins {
|
||||
id("com.android.library") version "8.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
|
|
@ -19,4 +16,4 @@ dependencyResolutionManagement {
|
|||
|
||||
rootProject.name = "libxposed-api"
|
||||
|
||||
include(":api")
|
||||
include(":api", ":checks")
|
||||
|
|
|
|||
Loading…
Reference in New Issue