Android Studio integration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Android Studio integration

Brian Titus
Thank you for looking into my question.

From all of the reading I've done, it doesn't seem that you can go into Tools -> SDK Manager , then on the SDK Update Sites tab, add a URL for Spock.  I saw a post from 2015 where it was said to use https://oss.sonatype.org/content/repositories/snapshots.  I didn't try it.

I downloaded the spock-master.zip, unzipped, and ran a "gradlew clean build".  I copied the jar files, currently:
 spock-core-1.2-SNAPSHOT-groovy-2.4.jar
 spock-core-1.2-SNAPSHOT-groovy-2.4-javadoc.jar
 spock-core-1.2-SNAPSHOT-groovy-2.4-sources.jar
to my libs folder for my project.

 That's how I finally was able to go to Settings -> Project Structure, app, Dependencies and add a Test Compile entry for the spock-core jar from above.

 I am hoping there's an easier path.  I'd also like to make this addition to my Android Studio installation and not have to repeat it for each project.

 Is all of that necessary?  Is that how you're supposed to do it?  It seems like a lot of steps.  Many thanks, Brian

--
You received this message because you are subscribed to the Google Groups "Spock Framework - User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/spockframework.
For more options, visit https://groups.google.com/d/optout.
Loading...