| apply plugin: 'java' |
| apply plugin: 'kotlin' |
| apply plugin: 'jacoco-tools-base' |
| apply plugin: 'sdk-java-lib' |
| |
| group = 'com.android.tools.lint' |
| archivesBaseName = 'lint-api' |
| version = rootProject.ext.baseVersion |
| |
| compileKotlin { |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| } |
| |
| dependencies { |
| compile project(':base:sdk-common') |
| compile project(':base:lint-model') |
| implementation project(':base:builder-model') |
| compile libs.guava |
| compile project(':base:intellij-core') |
| compile project(':base:kotlin-compiler') |
| compile project(':base:uast') |
| compile project(':base:manifest-merger') |
| |
| compile libs.asm |
| compile libs.asm_tree |
| |
| compile libs.kotlin_reflect |
| compile libs.kotlin_stdlib |
| } |
| |
| sourceSets { |
| main.resources.srcDir 'src/main/java' |
| test.resources.srcDir 'src/test/java' |
| } |
| |
| project.ext.pomName = 'Android Tools Lint API' |
| project.ext.pomDesc = 'API to build lint checks' |
| |
| apply from: "$rootDir/buildSrc/base/publish.gradle" |
| apply from: "$rootDir/buildSrc/base/javadoc.gradle" |
| |