aboutsummaryrefslogtreecommitdiff
path: root/library/build.gradle
blob: 3584fb19cc56e170967a2e9422ecd04aa2e79041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apply plugin: 'java'

sourceSets {
    main {
        java {
            srcDirs = ['src']
        }
    }
}

configurations {
    ast
}

dependencies {
    compile project(':hamcrest')
    ast project(':android-support-test')
}

task astJar(type: Jar) {
    from sourceSets.main.output
    dependsOn classes
    baseName "hamcrest-library"
    classifier "ast"
}

artifacts {
    ast astJar
}