Skip to content

Commit

Permalink
Cosmetic, fixing broken formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealAgentK committed Dec 30, 2017
1 parent 0f57ca8 commit d6adb9f
Showing 1 changed file with 31 additions and 33 deletions.
64 changes: 31 additions & 33 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

buildscript {
repositories {
mavenLocal()
Expand All @@ -12,17 +11,17 @@ buildscript {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
classpath "gradle.plugin.se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.50"
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
classpath "gradle.plugin.se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.50"
}
}

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '1.2.4'
id 'eclipse'
id 'java'
id 'com.github.johnrengelman.shadow' version '1.2.4'
id 'eclipse'
}

apply plugin: "base"
Expand All @@ -35,7 +34,6 @@ apply from: 'cobertura.gradle'
apply from: 'deploy.gradle'
apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin"


sourceCompatibility = 1.8
targetCompatibility = 1.8

Expand All @@ -46,21 +44,21 @@ repositories {
maven { url "http://cfmlprojects.org/artifacts" }
}
dependencies {
compile group: 'com.github.cfparser', name: 'cfml.parsing', version:'2.6.0'
compile group: 'commons-cli', name: 'commons-cli', version:'1.2'
compile group: 'ro.fortsoft.pf4j', name: 'pf4j', version:'0.6'
compile group: 'ant', name: 'ant', version:'1.7.0'
compile group: 'com.sun.xml.bind', name: 'jaxb-impl', version:'2.1.8'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:'2.8.6'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-jaxb-annotations', version:'2.8.6'
compile (group: 'net.java.dev.stax-utils', name: 'stax-utils', version: '20070216'){
compile group: 'com.github.cfparser', name: 'cfml.parsing', version: '2.6.0'
compile group: 'commons-cli', name: 'commons-cli', version: '1.2'
compile group: 'ro.fortsoft.pf4j', name: 'pf4j', version: '0.6'
compile group: 'ant', name: 'ant', version: '1.7.0'
compile group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.1.8'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.6'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-jaxb-annotations', version: '2.8.6'
compile(group: 'net.java.dev.stax-utils', name: 'stax-utils', version: '20070216') {
exclude module: 'jsr173-ri'
exclude module: 'jsr173'
}
// https://mvnrepository.com/artifact/commons-io/commons-io
compile group: 'commons-io', name: 'commons-io', version: '2.5'

testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'junit', name: 'junit', version: '4.12'
}

test {
Expand All @@ -73,25 +71,25 @@ test {
}

jar {
manifest {
attributes(
'Main-Class': 'com.cflint.cli.CFLintCLI',
'Implementation-Version': version,
)
}
manifest {
attributes(
'Main-Class': 'com.cflint.cli.CFLintCLI',
'Implementation-Version': version,
)
}
}

task fatJar(type: Jar) {
manifest.from jar.manifest
classifier = 'all'
from {
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
} {
manifest.from jar.manifest
classifier = 'all'
from {
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
with jar
}
with jar
}

artifacts {
Expand Down

0 comments on commit d6adb9f

Please sign in to comment.