Thanks!  

I've filed an issue <http://gsfn.us/t/4nwcc> with the Gradle folks and will 
keep this thread updated.

On Monday, December 8, 2014 5:50:02 PM UTC-8, Xavier Ducrohet wrote:
>
> Well looks like the problem is in the Maven plugin for Gradle itself. We 
> might need to report this to Gradle itself.
>
>
> Caused by: java.lang.NullPointerException
>       at org.gradle.api.plugins.MavenPlugin$4.execute(MavenPlugin.java:133)
>       at org.gradle.api.plugins.MavenPlugin$4.execute(MavenPlugin.java:124)
>       at 
> org.gradle.configuration.project.DelayedConfigurationActions.execute(DelayedConfigurationActions.java:27)
>       at 
> org.gradle.configuration.project.DelayedConfigurationActions.execute(DelayedConfigurationActions.java:22)
>       at 
> org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
>       at 
> org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:59)
>       ... 63 more
>
>
> On Mon, Dec 8, 2014 at 5:45 PM, Traun Leyden <traun....@gmail.com 
> <javascript:>> wrote:
>
>>
>> I'm using Android Studio 1.0 (build 135.1629389) and I'm getting an error 
>> importing a project using these steps:
>>
>> $ git clone 
>> https://github.com/couchbase/couchbase-lite-android-liteserv.git
>> $ cd couchbase-lite-android-liteserv
>> $ git submodule init && git submodule update
>> $ In the Android Studio  "Welcome" screen, choose "Import Non-Android 
>> Studio project" and choose couchbase-lite-android-liteserv/settings.gradle
>>
>> Here's the error from the idea.log file:
>>
>>    https://gist.github.com/tleyden/aad858a042e21183e0d4
>>
>> and here is the build.gradle 
>> <https://github.com/couchbase/couchbase-lite-java-javascript/blob/master/build.gradle>
>>  
>> file inside the sub-project that seems to be causing the issue.
>>
>> If I remove everything related to the maven plugin, as in this updated 
>> build.gradle 
>> <https://github.com/couchbase/couchbase-lite-java-javascript/blob/feature/android_studio_import/build.gradle>,
>>  
>> then the problem goes away.  But that's not a viable option, since I need 
>> the ability to publish maven artifacts for the project.
>>
>> I haven't tried using the maven-publish plugin instead of the maven 
>> plugin -- is that the recommended plugin for the use case of publishing 
>> maven artifacts?  (when would you want to use the maven plugin?)
>>
>> PS: congrats on 1.0!
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "adt-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to adt-dev+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>  

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to