Hi,
How can I tell the Java plug-ins 'jar' task to generate an uncompressed jar
file?
This can be done in Ant using the 'compress' attribute.
(e.g.)
jar destfile=${jar.dir}/${project.name}.jar basedir=${classes.dir}
manifest=${config.dir}/MANIFEST.MF compress=false /
Thanks!
Yes. That was the problem alright.
Thanks all for your help!
From: Brett Cave [mailto:br...@jemstep.com]
Sent: 10 March 2011 15:30
To: user@gradle.codehaus.org
Cc: Baruch Sadogursky
Subject: Re: [gradle-user] Uploading artifact to Artifactory repo -
Return code is: 405
On Thu, Mar 10,
Hi,
I have a Gradle build that's publishing artifacts to an Artifactory
repository.
This all works fine when I specify that the artifact is a SNAPSHOT.
However, if I declare the version as final (i.e. not a SNAPSHOT) the
'uploadArchives' tasks with the following error:
12:10:06.145
Hi All,
I have a multi-project build and I'm looking to find the version of a
dependency declared in a sibling project.
To access a dependency in the current project I can simply use:
configurations.default.allDependencies
And loop through until I find the one I want.
But
Is there an handy way to update an archive in a Zip file using Gradle?
I reckon I could extract it, add the archive and recreate it - but I'm
sure there's a better way. J
Thanks,
Donal.
)
}
regards,
René
Am 13.10.10 18:54, schrieb Donal Mc Namee:
Hi,
I'm having trouble downloading SNAPSHOT dependencies.
I'm able to publish a SNAPSHOT artifact to our local Artifactory
snapshots-repository using the following code:
apply {
plugin 'maven
Hi,
I'm having trouble downloading SNAPSHOT dependencies.
I'm able to publish a SNAPSHOT artifact to our local Artifactory
snapshots-repository using the following code:
apply {
plugin 'maven'
}
version = '1.1-SNAPSHOT'
uploadArchives {
I'm running Gradle 0.7 and Section 29.5.4 of the Gradle user guide says
that 'Maven poms are automatically generated by Gradle'.
I have a simple project setup but when I run the uploadArchives task I
get an 'build\ivy.xml' generated all right, but no pom.xml?
I'm just looking for the pom and
Please ignore, wrong mailing list.
Apologies
-Original Message-
From: Donal Mc Namee [mailto:donal.mcna...@vhi.ie]
Sent: 21 May 2010 10:11
To: user@gradle.codehaus.org
Subject: [gradle-user] afterPropertiesSet() not working
Hi,
I'm having trouble accessing the grailsApplication
Hi,
I'm migrating our ant scripts to Gradle and one of the scripts executes
a 3rd party class like so:
target name=transform-accept-server-file
java
classname=com.blazesoft.server.deploy.tools.NdServerConfigSerializer
fork=true failonerror=true
classpath
path
Can anyone tell me how I can pass a specific 'version' to a sub-project
when executing a build?
For example, I want to define the version for sub-project-1 as '1.0' and
sub-project-2 as '1.2' at build time.
I've tried such things a providing '-Psub-project-1:version=1.0' or
Subject: Re: [gradle-user] Publishing a second artifact
On Jun 16, 2009, at 11:40 AM, Donal Mc Namee wrote:
I'm having difficulty publishing an artifact to my local Ivy
repository with gradle uploadArchives.
I have one project called 'ias_ta_common' that creates 2 Jars
('ias_ta_common.jar
I'm having difficulty publishing an artifact to my local Ivy repository
with gradle uploadArchives.
I have one project called 'ias_ta_common' that creates 2 Jars
('ias_ta_common.jar', and 'ias_ta_common_service_facade.jar')
Calling gradle uploadArchives will upload my 'ias_ta_common.jar' as
13 matches
Mail list logo