| apply plugin: 'com.android.tools.java-library' |
| apply plugin: 'com.android.tools.kotlin' |
| apply plugin: 'com.android.tools.publish' |
| apply plugin: 'sdk-java-lib' |
| |
| group = 'com.android.tools.lint' |
| archivesBaseName = 'lint-gradle' |
| version = rootProject.ext.baseVersion |
| |
| compileKotlin { |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| } |
| |
| dependencies { |
| // NOTE NOTE NOTE - before changing this, note that lint dependencies |
| // must also be reflected in [LintClassLoaderProvider#computeUrls] as well |
| // so update both in sync |
| implementation project(':base:sdk-common') |
| implementation project(':base:sdklib') |
| implementation project(':base:common') |
| implementation project(':base:builder') |
| implementation project(':base:builder-model') |
| implementation project(':base:intellij-core') |
| implementation project(':base:kotlin-compiler') |
| implementation project(':base:uast') |
| implementation project(':base:manifest-merger') |
| implementation project(':base:lint-cli') |
| implementation project(':base:zipflinger') |
| implementation project(':base:repository') |
| |
| implementation libs.groovy |
| implementation libs.kotlin_reflect |
| implementation libs.kotlin_stdlib |
| |
| testImplementation libs.junit |
| testImplementation libs.truth |
| testImplementation libs.mockito_core |
| testImplementation project(':base:testutils') |
| testImplementation project(':base:lint-tests') |
| } |
| |
| sourceSets { |
| main.resources.srcDir 'src/main/java' |
| test.resources.srcDir 'src/test/java' |
| } |
| |
| project.ext.pomName = 'Android Tools Lint Gradle Integration' |
| project.ext.pomDesc = 'Gradle integration for Android Lint' |