You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Gerald Wiltse <je...@gmail.com> on 2016/03/01 00:13:45 UTC
Groovy Wrapper for Bintray API
I don't suppose anyone has created a groovy wrapper "library" for bintray
have they? Just hoping to get lucky. As I set out to write my third such
a wrapper for a popular REST API in 2 months, i keep thinking "haven't 100
people already done this work?".
I checked, and Bintray hasn't done the swagger thing yet. They have a
bintray java library which is great, but there's no documentation other
than the test cases, and I could not make sense of it. I even emailed them
for assistance but they said "Just use the API".
Regards,
Jerry
Gerald R. Wiltse
jerrywiltse@gmail.com
Re: Groovy Wrapper for Bintray API
Posted by Gerald Wiltse <je...@gmail.com>.
Thanks Schalk!
Gerald R. Wiltse
jerrywiltse@gmail.com
On Tue, Mar 1, 2016 at 7:50 AM, Schalk Cronjé <ys...@gmail.com> wrote:
> I am not sure what you want to achieve. That code is part of a Bintray
> publishing Gradle plugin I wrote, before Bintray came out with their own
> version. If you want to just publish to Bintray from Gradle, this will work
> for you if you use the original style maven publishing.
>
>
> If you want to do something else, feel free to take the code to a new
> project - it is licensed under Apache v2 anyway.
>
>
>
>
> On 01/03/2016 00:01, Gerald Wiltse wrote:
>
> Thank you sir!
>
> Actually... would I be able to just use the plugin library? Are methods
> exposed in similar ways?
>
> Gerald R. Wiltse
> jerrywiltse@gmail.com
>
>
> On Mon, Feb 29, 2016 at 6:26 PM, Schalk Cronjé <ys...@gmail.com> wrote:
>
>> You can re-use some code from here -
>> https://github.com/ysb33r/bintray/blob/master/gradle-plugin/src/main/groovy/org/ysb33r/gradle/bintray/BintrayAPI.groovy
>>
>>
>> On 29/02/2016 23:13, Gerald Wiltse wrote:
>>
>> I don't suppose anyone has created a groovy wrapper "library" for bintray
>> have they? Just hoping to get lucky. As I set out to write my third such
>> a wrapper for a popular REST API in 2 months, i keep thinking "haven't 100
>> people already done this work?".
>>
>> I checked, and Bintray hasn't done the swagger thing yet. They have a
>> bintray java library which is great, but there's no documentation other
>> than the test cases, and I could not make sense of it. I even emailed them
>> for assistance but they said "Just use the API".
>>
>>
>> Regards,
>> Jerry
>>
>>
>> Gerald R. Wiltse
>> jerrywiltse@gmail.com
>>
>>
>>
>> --
>> Schalk W. Cronjé
>> Twitter / Ello / Toeter : @ysb33r
>>
>>
>
>
> --
> Schalk W. Cronjé
> Twitter / Ello / Toeter : @ysb33r
>
>
Re: Groovy Wrapper for Bintray API
Posted by Schalk Cronjé <ys...@gmail.com>.
I am not sure what you want to achieve. That code is part of a Bintray
publishing Gradle plugin I wrote, before Bintray came out with their own
version. If you want to just publish to Bintray from Gradle, this will
work for you if you use the original style maven publishing.
If you want to do something else, feel free to take the code to a new
project - it is licensed under Apache v2 anyway.
On 01/03/2016 00:01, Gerald Wiltse wrote:
> Thank you sir!
>
> Actually... would I be able to just use the plugin library? Are
> methods exposed in similar ways?
>
> Gerald R. Wiltse
> jerrywiltse@gmail.com <ma...@gmail.com>
>
>
> On Mon, Feb 29, 2016 at 6:26 PM, Schalk Cronjé <ysb33r@gmail.com
> <ma...@gmail.com>> wrote:
>
> You can re-use some code from here -
> https://github.com/ysb33r/bintray/blob/master/gradle-plugin/src/main/groovy/org/ysb33r/gradle/bintray/BintrayAPI.groovy
>
>
>
> On 29/02/2016 23:13, Gerald Wiltse wrote:
>> I don't suppose anyone has created a groovy wrapper "library" for
>> bintray have they? Just hoping to get lucky. As I set out to
>> write my third such a wrapper for a popular REST API in 2 months,
>> i keep thinking "haven't 100 people already done this work?".
>>
>> I checked, and Bintray hasn't done the swagger thing yet. They
>> have a bintray java library which is great, but there's no
>> documentation other than the test cases, and I could not make
>> sense of it. I even emailed them for assistance but they said
>> "Just use the API".
>>
>>
>> Regards,
>> Jerry
>>
>>
>> Gerald R. Wiltse
>> jerrywiltse@gmail.com <ma...@gmail.com>
>>
>
>
> --
> Schalk W. Cronjé
> Twitter / Ello / Toeter : @ysb33r
>
>
--
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r
Re: Groovy Wrapper for Bintray API
Posted by Gerald Wiltse <je...@gmail.com>.
Thank you sir!
Actually... would I be able to just use the plugin library? Are methods
exposed in similar ways?
Gerald R. Wiltse
jerrywiltse@gmail.com
On Mon, Feb 29, 2016 at 6:26 PM, Schalk Cronjé <ys...@gmail.com> wrote:
> You can re-use some code from here -
> https://github.com/ysb33r/bintray/blob/master/gradle-plugin/src/main/groovy/org/ysb33r/gradle/bintray/BintrayAPI.groovy
>
>
> On 29/02/2016 23:13, Gerald Wiltse wrote:
>
> I don't suppose anyone has created a groovy wrapper "library" for bintray
> have they? Just hoping to get lucky. As I set out to write my third such
> a wrapper for a popular REST API in 2 months, i keep thinking "haven't 100
> people already done this work?".
>
> I checked, and Bintray hasn't done the swagger thing yet. They have a
> bintray java library which is great, but there's no documentation other
> than the test cases, and I could not make sense of it. I even emailed them
> for assistance but they said "Just use the API".
>
>
> Regards,
> Jerry
>
>
> Gerald R. Wiltse
> jerrywiltse@gmail.com
>
>
>
> --
> Schalk W. Cronjé
> Twitter / Ello / Toeter : @ysb33r
>
>
Re: Groovy Wrapper for Bintray API
Posted by Schalk Cronjé <ys...@gmail.com>.
You can re-use some code from here -
https://github.com/ysb33r/bintray/blob/master/gradle-plugin/src/main/groovy/org/ysb33r/gradle/bintray/BintrayAPI.groovy
On 29/02/2016 23:13, Gerald Wiltse wrote:
> I don't suppose anyone has created a groovy wrapper "library" for
> bintray have they? Just hoping to get lucky. As I set out to write
> my third such a wrapper for a popular REST API in 2 months, i keep
> thinking "haven't 100 people already done this work?".
>
> I checked, and Bintray hasn't done the swagger thing yet. They have a
> bintray java library which is great, but there's no documentation
> other than the test cases, and I could not make sense of it. I even
> emailed them for assistance but they said "Just use the API".
>
>
> Regards,
> Jerry
>
>
> Gerald R. Wiltse
> jerrywiltse@gmail.com <ma...@gmail.com>
>
--
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r