Hans, On Mon, 2008-06-16 at 10:27 +0200, Hans Dockter wrote:
> > why say the buildfilename is build.gradle when it is gradlefile? > > Because we have changed the conventions: > > http://jira.codehaus.org/browse/GRADLE-113 > > There will be a release today. The user's guide will be updated. Aha, you finally agree with my proposal for naming ;-) OK, with a rename and the build.gradle file: type = 'jar' group = 'org.devjavasoft' version = '3.1.0' usePlugin ( 'java' ) dependencies { addMavenRepo ( ) testCompile ( 'org.testng:testng:5.8:jdk15' ) } sourceCompatibility = 1.6 targetCompatibility = 1.6 I get the output: |> gradle test No modern compiler. Recursive: true Buildfilename: build.gradle No build sources found. :: loading settings :: url = jar:file:/home/users/russel/lib/Java/gradle/lib/ivy-2.0.0.beta2_20080305165542.jar!/org/apache/ivy/core/settings/ivysettings.xml :: resolving dependencies :: org.gradle#build;SNAPSHOT confs: [build] ++++ Starting build for primary task: test ++ Loading Project objects ++ Configuring Project objects Timing: Parsing the build script took 0.237 secs Timing: Running the build script took 1.074 secs Timing: Missing calls took 0.008 Project=: evaluated. ++ Executing: test Recursive:true Startproject: : Executing: :init Executing: :resources Executing: :compile :: resolving dependencies :: org.devjavasoft#ADS;3.1.0 confs: [compile] [mkdir] Created dir: /home/users/russel/Repositories/Bazaar/Masters/ADS/build/classes [javac] Compiling 115 source files to /home/users/russel/Repositories/Bazaar/Masters/ADS/build/classes Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Executing: :testResources Executing: :testCompile :: resolving dependencies :: org.devjavasoft#ADS;3.1.0 confs: [testCompile] found org.testng#testng;5.8 in MavenRepo_poms :: problems summary :: :::: WARNINGS [NOT FOUND ] org.testng#testng;5.8!testng.jar (397ms) ==== MavenRepo_poms: tried ==== MavenRepo_jars: tried http://repo1.maven.org/maven2//org/testng/testng/5.8/testng-5.8.jar :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS Build aborted anormally. Run with -s option to get stacktrace. Run with -d option to get all debug info including stacktrace. Run (additionally) with -f option to get the full (very verbose) stacktrace Exception: org.gradle.api.GradleScriptException: org.gradle.api.GradleException: Not all dependencies could be resolved! Buildscript=build.gradle No line info available from stacktrace. Total time: 9 seconds Exit with error! 520 balin:~/Repositories/Bazaar/Masters/ADS |> So I guess I am missing something else as well? -- Russel. ==================================================== Dr Russel Winder Partner Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 London SW11 1EN, UK. m: +44 7770 465 077
signature.asc
Description: This is a digitally signed message part
