amadeu01
3/15/2018 - 5:12 PM

Used to test gradle parallel tests. and `-t` argument to continues running tests.

Used to test gradle parallel tests. and -t argument to continues running tests.

apply plugin: "java"

group = "amadeu01.github.io"
description = "My Java Library"
version = "1.0"

repositories {
    mavenCentral()
}

dependencies {
    compile "commons-collections:commons-collections:3.2"
    testCompile "junit:junit:4.11"
}

sourceSets {
    main {
        java {
            srcDirs = ["java"]
        }
    }
}

jar {
    manifest {
        attributes "Implementation-Version": project.version
    }
}

test {
    maxParallelForks = (Runtime.runtime.availableProcessors() / 2) + 1
}