Skip to content
Browse files

Dependency fixes

  • Loading branch information...
1 parent 5566a1a commit 45a52784063d405dea5d668c8f8452a342bd0e01 @armeris committed
View
7 grails-app/conf/BuildConfig.groovy
@@ -26,10 +26,9 @@ grails.project.dependency.resolution = {
}
dependencies {
- runtime group:"org.twitter4j", name:"twitter4j-core", version:"3.0.3"
- runtime group:"org.twitter4j", name:"twitter4j-core", version:"3.0.3"
- runtime group:"org.twitter4j", name:"twitter4j-async", version:"3.0.3"
- runtime group:"org.twitter4j", name:"twitter4j-stream", version:"3.0.3"
+ compile group:"org.twitter4j", name:"twitter4j-core", version:"3.0.3"
+ compile group:"org.twitter4j", name:"twitter4j-async", version:"3.0.3"
+ compile group:"org.twitter4j", name:"twitter4j-stream", version:"3.0.3"
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
// runtime 'mysql:mysql-connector-java:5.1.13'
View
BIN grails-twitter4j-0.4.0.zip
Binary file not shown.
View
7 plugin.xml
@@ -15,12 +15,11 @@
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
</repositories>
<dependencies>
- <runtime>
- <dependency group='org.twitter4j' name='twitter4j-async' version='3.0.3' />
+ <compile>
<dependency group='org.twitter4j' name='twitter4j-stream' version='3.0.3' />
<dependency group='org.twitter4j' name='twitter4j-core' version='3.0.3' />
- <dependency group='org.twitter4j' name='twitter4j-core' version='3.0.3' />
- </runtime>
+ <dependency group='org.twitter4j' name='twitter4j-async' version='3.0.3' />
+ </compile>
</dependencies>
<plugins />
<runtimePluginRequirements />
View
3 src/groovy/org/twitter4j/grails/plugin/TwitterUserStreamFactoryBean.groovy
@@ -2,7 +2,8 @@ package org.twitter4j.grails.plugin
import org.apache.log4j.Logger;
import org.springframework.beans.factory.FactoryBean;
-import twitter4j.*;
+import twitter4j.TwitterStreamFactory;
+import twitter4j.TwitterStream;
import twitter4j.conf.ConfigurationBuilder;
class TwitterUserStreamFactoryBean implements FactoryBean{

0 comments on commit 45a5278

Please sign in to comment.
Something went wrong with that request. Please try again.