compc execution failed: Loading configuration file Error: nothing was specified to be included in the library

wood's Avatar

wood

08 Oct, 2013 02:06 PM

Gradle 1.8
------------------------------------------------------------

Build time:   2013-09-24 07:32:33 UTC
Build number: none
Revision:     7970ec3503b4f5767ee1c1c69f8b4186c4763e3d

Groovy:       1.8.6
Ant:          Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy:          2.2.0
JVM:          1.7.0_40 (Oracle Corporation 24.0-b56)
OS:           Mac OS X 10.8.5 x86_64`
//build.gradle
buildscript {
  repositories {
      mavenCentral()
  }

  dependencies {
      classpath group: 'org.gradlefx', name: 'gradlefx', version: '0.7'
  }
}

apply plugin: 'gradlefx'

type = 'swc'

repositories {
  add(new org.apache.ivy.plugins.resolver.URLResolver()) {
    name = 'Apache'
    addArtifactPattern 'http://apache.cu.be/flex/[revision]/binaries/[module]-[revision]-bin.[ext]'
  }

  add(new org.apache.ivy.plugins.resolver.URLResolver()) {
    name = 'Adobe Air SDK'
    addArtifactPattern 'http://download.macromedia.com/air/win/download/[revision]/[module].[ext]'
  }
}

dependencies {
  flexSDK group: 'org.apache', name: 'apache-flex-sdk', version: '4.10.0', ext: 'tar.gz'
  airSDK group: 'com.adobe', name: 'AdobeAIRSDK', version: '3.8', ext: 'zip'
}

sdkAutoInstall {
  showPrompts = false
}
  1. Support Staff 1 Posted by Yennick Trevels on 08 Oct, 2013 06:29 PM

    Yennick Trevels's Avatar

    maybe a stupid question, but do you have any source files (*.as or *.mxml) files in your 'src/main/actionscript' folder? Because this error mostly occurs when the compiler can't find any source files.
    Also, do you have the same problem with GradleFx 0.6.4?

  2. 2 Posted by wood on 09 Oct, 2013 12:11 AM

    wood's Avatar

    Sorry Yennick! you are right. it was my stupidness. now I fix it. Thanks!!

  3. Yennick Trevels closed this discussion on 09 Oct, 2013 05:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac