blob: 21d993faeeff27d6aeacf267880de90f7450b128 [file] [log] [blame]
apply plugin: 'java'
apply plugin: 'sdk-java-lib'
group = 'com.android.tools.lint'
archivesBaseName = 'lint'
version = rootProject.ext.baseVersion
dependencies {
compile project(':base:lint-checks')
compile 'org.eclipse.jdt.core.compiler:ecj:4.2.2'
testCompile 'org.easymock:easymock:3.1'
testCompile 'junit:junit:3.8.1'
testCompile project(':base:testutils')
}
sourceSets {
main.resources.srcDir 'src/main/java'
test.resources.srcDir 'src/test/java'
}
sdk {
linux {
item('etc/lint') { executable true }
}
mac {
item('etc/lint') { executable true }
}
windows {
item 'etc/lint.bat'
}
}
// configure the manifest of the sdkJar task.
sdkJar.manifest.attributes("Main-Class": "com.android.tools.lint.Main")
project.ext.pomName = 'Android Lint Tool'
project.ext.pomDesc = 'Lint tools. Both a Command line tool and a library to add lint features to other tools'
apply from: "$rootDir/buildSrc/base/publish.gradle"
apply from: "$rootDir/buildSrc/base/javadoc.gradle"