Comments (9)
Thanks a lot for outstanding job :)
I will play more with your project v. soon but atm i see problems with java8. did you compiled the plugin using jdk8?
from robospock.
Thanks a bunch =)
Indeed I did - what exactly is the problem? A stack trace perhaps?
Didn't think that there'd be a problem compiling the plugin it self in jdk8 since it uses Groovy for everything anyways =)
from robospock.
I'd compile with jdk7 since android uses it, jdk8 is not recommended especially for M$ users.
from robospock.
Btw, how did you even see that I've compiled with jdk8? There's no mention of jdk8 in the source code anywhere of my project =) I'm using Win8 myself (sadly) and jdk8 and have no problems...
My JAVA_HOME = %SDK%\java\jdk1.8.0_20
since I make non-android projects...
What problems could arise from compiling with jdk8 (given that Gradle uses groovy...) And how do I resolve this without changing my JAVA_HOME?
from robospock.
You can compile with Java 8 but you'd have to set a target of Java 7 in order for people with a Java 7 runtime environment to use your plugin.
You can do this by applying these gradle rules to your projects:
sourceCompatibility = 1.7
targetCompatibility = 1.7
from robospock.
Fixed in 0.2.1.
Once Gradle 2.2 is released, and the android plugin supports it, I'll release the first major v1 of the project as it requires fixing a bug in Gradle (applying groovy plugin in afterEvaluate...).
Would be great if the plugin was referenced in the README.md of this repo so people can set up robospock easily, and not just myself =)
from robospock.
@Centril thanks for quick update. I check in the morning if it works my projects since I'd like to be sure if I understand the plugin. Of course once it's tested I will update the readme file!
from robospock.
good job, can't wait to test it ;)
from robospock.
I think it's not valid since google add support to their official plugin
from robospock.
Related Issues (20)
- Robolectric 3.0 support
- Upgrade com.android.support dependency HOT 3
- Add RobolectricGradleTestRunner bits to RoboSputnik HOT 1
- Align RoboSputnik::getConfig with RobolecticTestRunner HOT 2
- Bump spock version
- Rename package to org.robospock
- Run tests from cli HOT 4
- add detail doc for usage and API documentation
- GradleRoboSpecification fails to load project resources HOT 1
- Specification only read @Config annotation on its own, not including parent class HOT 3
- "class not found" using com.android.tools.build:gradle:1.5.0 HOT 2
- Updating robolectric to 3.1 HOT 2
- Error:Class com.android.build.gradle.internal.scope.VariantScopeImpl does not implement the requested interface com.android.build.gradle.internal.scope.BaseScope HOT 2
- robospock.org website is not working HOT 1
- New to RoboSpock HOT 1
- Still using RoboGuice? HOT 2
- 'Load Image' in sample does nothing
- Can't run a single spec with gradle? HOT 3
- Robolectric 3.4.2? HOT 7
- Robolectric 4.3 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robospock.