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
buildscript { | |
repositories { | |
maven { url 'https://oss.jfrog.org/repo/' } | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.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
repositories { | |
ivy { | |
url 'https://bitbucket.org/' | |
layout 'pattern', { | |
artifact '[organisation]/[artifact]/downloads/[artifact]-[revision]-[classifier].[ext]' | |
} | |
} | |
} | |
configurations { |
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: 'groovy' | |
configurations { | |
groovydoc | |
} | |
dependencies { | |
compile gradleApi() | |
compile localGroovy() | |
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
buildscript { | |
repositories { | |
jcenter() | |
maven { url "https://oss.sonatype.org/content/groups/public"} | |
} | |
dependencies { | |
classpath 'com.github.jengelman.gradle.plugins:shadow:1.0.3' | |
classpath 'com.github.townsfolk:gradle-release:1.2' | |
} | |
} |
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
subprojects { | |
tasks.withType(PublishToMavenRepository).all { t -> | |
rootProject.tasks.withType(PublishToMavenRepository).all { | |
it.mustRunAfter t | |
} | |
} | |
} |
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: 'com.github.johnrengelman.shadow' | |
configurations { | |
reflectasmshade | |
} | |
dependencies { | |
// Dependency on a non-shaded version | |
compile group: 'com.esotericsoftware', name: 'reflectasm', version:'1.10.0' |
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
//This file would be in the :server subproject - server/src/main/groovy/server/ServerTest.groovy | |
package server | |
imort client.junit.framework.Test | |
interface ServerTest extends Test {} |
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
00:50:57.963 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING | |
00:50:57.964 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: Gradle Worker 1. | |
00:50:57.979 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED | |
00:50:57.979 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled... | |
00:50:57.979 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'Gradle Worker 1' | |
00:50:58.472 [DEBUG] [system.out] 19:50:58.471 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector] Attempting to connect to [47b72302-d035-49c6-b3b5-3f896beddfd4 port:62666, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]]. | |
00:50:58.472 [DEBUG] [system.out] 19:50:58.472 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector] Trying to connect to address /0:0:0:0:0:0:0:1. | |
00:50:58.478 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Acc |
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
### Keybase proof | |
I hereby claim: | |
* I am johnrengelman on github. | |
* I am johnrengelman (https://keybase.io/johnrengelman) on keybase. | |
* I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); | |
} | |
To claim this, I am signing this object: |
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
select('foo') { | |
eq('id', 1) | |
projections { | |
property('bar') | |
} | |
} | |
result: 'SELECT bar FROM foo WHERE id = 1;' |