apply plugin: 'java'

targetCompatibility = JavaVersion.VERSION_1_7
sourceCompatibility = JavaVersion.VERSION_1_7

configurations {
    lintChecks
}

dependencies {
    compile rootProject.ext.lintapi
    compile rootProject.ext.lintchecks

    testCompile rootProject.ext.lint
    testCompile rootProject.ext.lintTests

    lintChecks files(jar)
}

jar {
    manifest {
        attributes('Lint-Registry': 'com.bluelinelabs.conductor.lint.IssueRegistry')
    }
}

apply from: rootProject.file('dependencies.gradle')
