Skip to content

Instantly share code, notes, and snippets.


Adrian Kelly adrianbk

  • Melbourne, Australia
View GitHub Profile
View AngularTemplateJsProcessor.groovy
import asset.pipeline.AbstractProcessor
import asset.pipeline.AssetCompiler
import asset.pipeline.AssetFile
import asset.pipeline.AssetPipelineConfigHolder
import asset.pipeline.DirectiveProcessor
import org.springframework.web.util.UriComponents
import org.springframework.web.util.UriComponentsBuilder
import java.util.regex.Pattern
View GRADLE-3342.gradle
Standalone example to reproduce:
Affected versions: 2.5 and above
run with: gradle clean orca:compileJava -i
The following will appear in the logs:
View gradle-s3-publish.gradle
apply plugin: 'java'
apply plugin: 'maven-publish'
repositories { jcenter() }
dependencies { compile 'org.slf4j:slf4j-api:1.7.12' }
publishing {
repositories {
maven {
url ""
adrianbk / dgle
Created Jul 5, 2014
Gradle Daemon LinkageError
View dgle
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test-unit:robospock'.
> Could not resolve all dependencies for configuration ':test-unit:jacocoAgent'.
> Could not resolve org.jacoco:org.jacoco.agent:
Required by:
> org/apache/http/HttpHost
adrianbk / AndroidRobospockHack.groovy
Last active Aug 29, 2015
Android Robospock Have
View AndroidRobospockHack.groovy
ext {
groovyVersion = '2.3.3'
spockVersion = '0.7-groovy-2.0'
roboSpockVersion = '0.4.4'
sdkDir = project(project.ext.robospock).android.sdkDirectory
buildscript {
repositories {