This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task bumpVersion << { | |
def components = version.split('\\.').collect { Integer.parseInt(it.replace('-SNAPSHOT', ''))} | |
components[2] += 1 | |
def nextIntegrationVersion = components.join('.')+"-SNAPSHOT" | |
def newProps = file("gradle.properties").text.replace(version, nextIntegrationVersion) | |
file("./gradle.properties").text = newProps | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jamescarr.example; | |
import java.util.Collection; | |
import com.google.common.base.Joiner; | |
public class Combiner { | |
public String combine(Collection<String> collection){ | |
return Joiner.on(",").join(collection); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.classpath | |
.project | |
.settings | |
.gradle | |
bin | |
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'maven' | |
apply plugin: 'eclipse' | |
repositories { | |
mavenCentral() | |
/** | |
* This would be the following if you use nexus/artifactory internally | |
* mavenRepo urls: 'http://your/internal/resolver | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rootProject.name = 'module-example' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group: org.jamescarr.examples | |
version: 1.0.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'maven' | |
apply plugin: 'eclipse' | |
repositories { | |
mavenCentral() | |
/** | |
* This would be the following if you use nexus/artifactory internally | |
* mavenRepo urls: 'http://your/internal/resolver | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="/leads/4e5c30c533c9bf390b000050/send-application" method="post"> | |
<table> | |
<tr> | |
<th><label>Companies</label></th> | |
<td><select multiple="multiple" size="10" name="application[companies]"> | |
<option>Bluestone</option> | |
<option>Capitol</option> | |
<option>CNA Surety</option> | |
<option>HCC Surety</option> | |
<option>Lapre Scali</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
» expected [ 'BlueFuzion', 'Keynote' ], | |
got [ 'BlueFuzion', 'Keynote' ] (deepEqual) // |
NewerOlder