tag:support.gradlefx.org,2011-05-23:/discussions/problems/1951-cant-compile-simple-project-with-gradlefxGradleFx: Discussion 2016-08-11T02:31:26Ztag:support.gradlefx.org,2011-05-23:Comment/334793122014-06-20T06:23:13Z2014-06-20T06:23:13ZCan't compile simple project with GradleFX<div><p>This problem is related to the following issue which started to
appear since Gradle 1.12 due to an api change in Gradle itself:
<a href=
"https://github.com/GradleFx/GradleFx/issues/131">https://github.com/GradleFx/GradleFx/issues/131</a><br>
So every version before Gradle 1.12 and since 1.6 should work.</p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/334793122014-06-20T10:14:33Z2014-08-08T11:00:23ZCan't compile simple project with GradleFX<div><p>Thank you, I see they change the namespace of FileSystem.<br>
It means it require change to GradeFX, right?</p>
<p>Thank you,<br>
Ido.</p></div>ido.rantag:support.gradlefx.org,2011-05-23:Comment/334793122014-06-20T11:14:26Z2014-06-20T11:14:26ZCan't compile simple project with GradleFX<div><p>Yes, that's correct. We'll need to fix this in GradleFx
itself.</p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/334793122014-06-20T16:13:15Z2014-08-08T11:00:23ZCan't compile simple project with GradleFX<div><p>OK, I've install Gradle 1.11 and now running just gradle
commands work.<br>
But, I've download the example applications and when I run
air-single-project idoran$ gradle compileFlex I get this
output:</p>
<p>:copyresources :compileFlex FAILED</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong: Execution failed for task ':compileFlex'.<br>
> Could not resolve all dependencies for configuration
':merged'. > You must specify a URL for a Maven repository.</li>
</ul>
<p>What is that means?</p></div>ido.rantag:support.gradlefx.org,2011-05-23:Comment/334793122014-06-20T16:14:57Z2014-08-08T11:00:23ZCan't compile simple project with GradleFX<div><p>When I run gradle command in mobile-android example I get this
error:</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong: A problem occurred configuring root project
'mobile-android'.<br>
> Could not resolve all dependencies for configuration
':flexSDK'. > Could not find org.apache:apache-flex-sdk:4.10.0.
Required by: :mobile-android:1.0-SNAPSHOT</li>
</ul></div>ido.rantag:support.gradlefx.org,2011-05-23:Comment/334793122014-06-20T16:21:38Z2014-08-08T11:00:23ZCan't compile simple project with GradleFX<div><p>In mobile-android example, I've remove this part from
build.gradle:</p>
<p>dependencies {<br>
flexSDK group: 'org.apache', name: 'apache-flex-sdk', version:
'4.10.0', ext: 'zip' airSDK group: 'com.adobe', name:
'AdobeAIRSDK', version: '3.8', ext: 'zip' }</p>
<p>and export FLEX_HOME to point to my flex installation and was
able to successfully compileFlex and packageMobile the app.</p></div>ido.ran