New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find property 'allJava' on source set android test. #25

Closed
avaranovich opened this Issue Jun 7, 2014 · 4 comments

Comments

Projects
None yet
2 participants
@avaranovich

avaranovich commented Jun 7, 2014

Hi,

I am experiencing a weird issue with

./gradlew build --debug

in android studio 0.6 (http://tools.android.com/recent/androidstudio060released)


Gradle 1.12

Build time: 2014-04-29 09:24:31 UTC
Build number: none
Revision: a831fa866d46cbee94e61a09af15f9dd95987421

Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
Ivy: 2.2.0
JVM: 1.7.0_21 (Oracle Corporation 23.21-b01)
OS: Mac OS X 10.10 x86_64

19:07:39.215 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: groovy.lang.MissingPropertyException: Could not find property 'allJava' on source set android test.
19:07:39.216 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
19:07:39.216 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
19:07:39.217 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:94)
19:07:39.218 [ERROR] [org.gradle.BuildExceptionReporter]    at com.android.build.gradle.internal.api.DefaultAndroidSourceSet_Decorated.getProperty(Unknown Source)
19:07:39.219 [ERROR] [org.gradle.BuildExceptionReporter]    at jp.leafytree.gradle.AndroidScalaPlugin$_updateAndroidSourceSetsExtension_closure13.doCall(AndroidScalaPlugin.groovy:302)
19:07:39.220 [ERROR] [org.gradle.BuildExceptionReporter]    at jp.leafytree.gradle.AndroidScalaPlugin.updateAndroidSourceSetsExtension(AndroidScalaPlugin.groovy:295)
19:07:39.221 [ERROR] [org.gradle.BuildExceptionReporter]    at jp.leafytree.gradle.AndroidScalaPlugin.apply(AndroidScalaPlugin.groovy:80)
19:07:39.221 [ERROR] [org.gradle.BuildExceptionReporter]    at jp.leafytree.gradle.AndroidScalaPlugin$apply.callCurrent(Unknown Source)
19:07:39.222 [ERROR] [org.gradle.BuildExceptionReporter]    at jp.leafytree.gradle.AndroidScalaPlugin.apply(AndroidScalaPlugin.groovy:119)
19:07:39.223 [ERROR] [org.gradle.BuildExceptionReporter]    at jp.leafytree.gradle.AndroidScalaPlugin.apply(AndroidScalaPlugin.groovy)
19:07:39.224 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultPluginContainer.providePlugin(DefaultPluginContainer.java:104)
19:07:39.225 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultPluginContainer.addPluginInternal(DefaultPluginContainer.java:68)
19:07:39.225 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:34)
19:07:39.226 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:116)
19:07:39.226 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)
19:07:39.227 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:85)
19:07:39.228 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:129)
19:07:39.229 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:41)
19:07:39.230 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.api.Project$apply.call(Unknown Source)
@saturday06

This comment has been minimized.

Show comment
Hide comment
@saturday06

saturday06 Jun 8, 2014

Owner

This plugin doesn't support Android Studio 0.6, I'm now working to support it. Please wait a while.

Owner

saturday06 commented Jun 8, 2014

This plugin doesn't support Android Studio 0.6, I'm now working to support it. Please wait a while.

@avaranovich

This comment has been minimized.

Show comment
Hide comment
@avaranovich

avaranovich Jun 8, 2014

I think the issue is here

I am not that much familiar with grade internals, but do you have an idea why this property is not there anymore, perhaps I could fix in a fork.

avaranovich commented Jun 8, 2014

I think the issue is here

I am not that much familiar with grade internals, but do you have an idea why this property is not there anymore, perhaps I could fix in a fork.

@saturday06

This comment has been minimized.

Show comment
Hide comment
@saturday06

saturday06 Jun 9, 2014

Owner

Thank you for your cooperation. For temporary workaround, I deleted codes that you pointed out.

Owner

saturday06 commented Jun 9, 2014

Thank you for your cooperation. For temporary workaround, I deleted codes that you pointed out.

@saturday06 saturday06 added the bug label Jun 26, 2014

@saturday06

This comment has been minimized.

Show comment
Hide comment
@saturday06

saturday06 Nov 8, 2014

Owner

Fixed!

Owner

saturday06 commented Nov 8, 2014

Fixed!

@saturday06 saturday06 closed this Nov 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment