This file contains hidden or 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
class JavaLanguageExternalDependencyResolutionIntegrationTest extends AbstractIntegrationSpec { | |
def "resolved classpath includes transitive api-scoped dependencies of local components"() { | |
given: | |
mavenRepo.module("org.gradle", "compileDep").publish() | |
mavenRepo.module("org.gradle", "apiDep").publish() | |
buildFile << """ | |
plugins { | |
id 'jvm-component' | |
id 'java-lang' |
This file contains hidden or 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
/* | |
* Copyright 2015 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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
Total time: 1.183 secs | |
Could not stop org.gradle.cache.internal.DefaultMultiProcessSafePersistentIndexedCache@738bbae9. | |
java.lang.IllegalStateException: The cache directory incrementalCompile (/Users/daz/dev/gradlestuff/samples/native-binaries/multi-project/.gradle/1.11-20131208214431+0000/taskState/_lib_compileMainSharedLibraryMainCpp/incrementalCompile) has not been locked for this thread. File lock: true, owner: Thread[Task worker,5,] | |
at org.gradle.cache.internal.DefaultCacheAccess.getLock(DefaultCacheAccess.java:323) | |
at org.gradle.cache.internal.DefaultCacheAccess.access$200(DefaultCacheAccess.java:42) | |
at org.gradle.cache.internal.DefaultCacheAccess$UnitOfWorkFileAccess.writeFile(DefaultCacheAccess.java:346) | |
at org.gradle.cache.internal.DefaultMultiProcessSafePersistentIndexedCache.close(DefaultMultiProcessSafePersistentIndexedCache.java:76) | |
at org.gradle.internal.concurrent.CompositeStoppable$2.stop(CompositeStoppable.java:83) | |
at org.gradle.internal.concurrent.CompositeStoppable.stop(CompositeStopp |
This file contains hidden or 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
➜ tmp java -version | |
java version "1.6.0_29" | |
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode) | |
➜ tmp cat gradle.properties | |
org.gradle.daemon=true | |
org.gradle.java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home | |
➜ tmp gr -i --refresh dependencies -s -g home sync | |
Note: the Gradle build daemon is an experimental feature. | |
As such, you may experience unexpected build failures. You may need to occasionally stop the daemon. |
This file contains hidden or 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
➜ tmp java -version | |
java version "1.5.0_30" | |
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-10M3527) | |
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_30-161, mixed mode) | |
➜ tmp gr -i --refresh dependencies -g home sync | |
Starting Build | |
Settings evaluated using empty settings file. | |
Projects loaded. Root project using build file '/Users/daz/dev/gradlex/tmp/build.gradle'. | |
Included projects: [root project 'tmp'] | |
Evaluating root project 'tmp' using build file '/Users/daz/dev/gradlex/tmp/build.gradle'. |
NewerOlder