Skip to content

Instantly share code, notes, and snippets.

View adrianbk's full-sized avatar

Adrian Kelly adrianbk

  • Melbourne, Australia
View GitHub Profile
apply plugin: 'java'
apply plugin: 'maven-publish'
repositories { jcenter() }
dependencies { compile 'org.slf4j:slf4j-api:1.7.12' }
publishing {
repositories {
maven {
url "http://127.0.0.1:8081/artifactory/libs-release-local/"
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
/*
Standalone example to reproduce: https://issues.gradle.org/browse/GRADLE-3342
Affected versions: 2.5 and above
run with: gradle clean orca:compileJava -i
The following will appear in the logs:
@adrianbk
adrianbk / dgle
Created July 5, 2014 14:26
Gradle Daemon LinkageError
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:0.6.2.201302030002.
Required by:
android-banking:test-unit:unspecified
> org/apache/http/HttpHost
@adrianbk
adrianbk / AndroidRobospockHack.groovy
Last active August 29, 2015 14:03
Android Robospock Have
ext {
groovyVersion = '2.3.3'
spockVersion = '0.7-groovy-2.0'
roboSpockVersion = '0.4.4'
sdkDir = project(project.ext.robospock).android.sdkDirectory
}
buildscript {
repositories {
mavenLocal()