apache-flex - Gradlefx 编译失败,依赖 as3commons-logging

标签 apache-flex gradle gradlefx

我为 Flex swc 项目创建了一个 gradle 构建文件,该文件在 intellij IDEA 中成功编译。

我的项目包含依赖项

internal group: 'org.as3commons', name: 'as3commons-logging', version: '2.7', ext: 'swc'

编译失败,出现如下错误
....\lib\as3commons-logging-2.7.swc(org.as3commons.logging.integration:SLF4ASIntegration)

  Error: Type was not found or was not a compile-time constant: [com.furusystems.logging.slf4as.bindings]::ILogBinding.

我看到日志库确实包含对来自其他库的接口(interface)的引用,但是在 IDE 中它以某种方式通过了编译甚至可以工作。

我应该设置哪个 gradlefx 选项?

最佳答案

解决了!我将依赖配置从“内部”更改为“合并”!

关于apache-flex - Gradlefx 编译失败,依赖 as3commons-logging,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14602375/

相关文章:

gradle - Gradle项目依赖项不会建立依赖项项目

intellij-idea - 如何在Gradle中获得外部依赖的完整路径?

apache-flex - Flex 和亚马逊支付

apache-flex - Adobe Flex4 mxml 架构

apache-flex - 如何在两个组件周围绘制连接边框?

android - 当我的 AAR 已经包含依赖项时,向我的项目添加依赖项

javascript - 当AS的ExternalInterface准备好时告诉JS

android - 在哪里可以下载Google的android程序包? (不是应用程序)

java - Gradle构建失败的Android Studio