Support for eclipse + buildship (#173)
This commit is contained in:
parent
ca29390591
commit
922b3012e6
|
@ -29,9 +29,6 @@ dependencies {
|
|||
|
||||
testCompile group: 'org.objenesis', name: 'objenesis', version: '2.6'
|
||||
testCompile group: 'cglib', name: 'cglib-nodep', version: '3.2.5'
|
||||
|
||||
testCompile 'org.openjdk.jmh:jmh-core:1.19'
|
||||
testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.19'
|
||||
}
|
||||
|
||||
jmh {
|
||||
|
|
|
@ -11,6 +11,17 @@ lombok { // optional: values below are the defaults
|
|||
sha256 = "9d957f572386b9e257093a45b148f9b411cff80d9efd55eaf6fca27002d2e4d9"
|
||||
}
|
||||
|
||||
apply plugin: "eclipse"
|
||||
eclipse {
|
||||
classpath {
|
||||
downloadSources = true
|
||||
downloadJavadoc = true
|
||||
}
|
||||
}
|
||||
if (configurations.find { it.name == 'jmh' }) {
|
||||
eclipse.classpath.plusConfigurations += [ configurations.jmh ]
|
||||
}
|
||||
|
||||
task packageSources(type: Jar) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
|
|
Loading…
Reference in New Issue