【发布时间】:2014-12-24 11:49:13
【问题描述】:
我的 build.gradle 文件
ext {
mainClassName = "org.robovm.bindings.admob.sample.Sample"
}
eclipse.project {
name = "admob-ios"
natures 'org.robovm.eclipse.RoboVMNature'
}
当我尝试将此项目 (https://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/admob) 导入 Eclipse 时(当我单击构建模型时)
我明白了
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/Vlad/Downloads/folder/admob/build.gradle' line: 5
* What went wrong:
A problem occurred evaluating root project 'admob'.
> Could not find property 'eclipse' on root project 'admob'.
我能做什么?
【问题讨论】:
-
我认为
apply plugin: 'eclipse'从build.gradle文件中丢失,这就是为什么该项目不存在eclipse属性的原因。
标签: java eclipse gradle robovm