Skip to content

Commit

Permalink
chore: Prepare for release
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Verkhoturov <[email protected]>
  • Loading branch information
DenisVerkhoturov committed May 29, 2019
1 parent 5be3b81 commit 5655a5e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,11 @@ allprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'

version '1.0-SNAPSHOT'
version '1.0.0'

sourceCompatibility = 11
targetCompatibility = 11

jar {
manifest {
attributes 'Main-Class': 'metamer.cmdparser.CliHandler'
}

from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

wrapper {
distributionType = Wrapper.DistributionType.ALL
}
Expand All @@ -39,7 +29,6 @@ allprojects {
}

dependencies {
compile 'commons-cli:commons-cli:1.4'
compile 'io.vavr:vavr:0.9.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
Expand All @@ -64,25 +53,36 @@ allprojects {
testPlugin = 'junit5'
targetClasses = ['metamer.*']
targetTests = ['metamer.*']
mainSourceSets = [project(':cli').sourceSets.main]
testSourceSets = [project(':cli').sourceSets.test]
mainSourceSets = [':cli', ':assembler', ':utils' ].collect { project(it).sourceSets.main }
testSourceSets = [':cli', ':assembler', ':utils' ].collect { project(it).sourceSets.test }
mutators = ['ALL']
outputFormats = ['XML', 'HTML']
timestampedReports = false
threads = 4
}
}

project('assembler') {
project('cli') {
jar {
manifest {
attributes 'Main-Class': 'metamer.cmdparser.CliHandler'
}

from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

dependencies {
compile project(':api')
compile project(':utils')
compile project(':assembler')
compile 'commons-cli:commons-cli:1.4'
}
}

project('cli') {
project('assembler') {
dependencies {
compile project(':assembler')
compile project(':api')
compile project(':utils')
}
}

Expand All @@ -91,4 +91,3 @@ project('functional_tests') {
compile project(':cli')
}
}

0 comments on commit 5655a5e

Please sign in to comment.