GithubHelp home page GithubHelp logo

Comments (14)

ZacSweers avatar ZacSweers commented on July 17, 2024 2

I'll take a crack at this

from gradle-maven-publish-plugin.

saket avatar saket commented on July 17, 2024 1

I'll try sending a patch this weekend.

from gradle-maven-publish-plugin.

vanniktech avatar vanniktech commented on July 17, 2024

Sure, want to take a stab at it?

from gradle-maven-publish-plugin.

saket avatar saket commented on July 17, 2024

That's what I initially wanted to try, but I'm quite bad at build tools. Would you be okay if I send potentially buggy patch and help me understand how things work?

from gradle-maven-publish-plugin.

digitalbuddha avatar digitalbuddha commented on July 17, 2024

Not sure if its the proper way but here's how I did it in the past https://github.com/NYTimes/Store/search?utf8=%E2%9C%93&q=dokka&type=

from gradle-maven-publish-plugin.

vanniktech avatar vanniktech commented on July 17, 2024

Don't have too much time currently but yes let's try to figure out a solution.

from gradle-maven-publish-plugin.

saket avatar saket commented on July 17, 2024

Hey @vanniktech, just wanted to let you know that I tried my hands on this twice but failed terribly. Being new to Groovy and Gradle plugins, I found myself lost in the syntax. Based on @hzsweers's implementation in AutoDispose, here's what I could come up with so far:

https://github.com/saket/gradle-maven-publish-plugin/blob/master/src/main/groovy/com/vanniktech/maven/publish/MavenPublishPlugin.groovy#L74

I wasted a lot of time trying to find a short feedback loop. I tried writing tests, but that didn't work out well.

from gradle-maven-publish-plugin.

gabrielittner avatar gabrielittner commented on July 17, 2024

@saket fyi when #35 is merged you could implement the support in Kotlin by just adding those as additional if cases before the existing

if (project.plugins.hasPlugin("com.android.library")) {
setupConfigurerForAndroid(project, configurer)
} else {
setupConfigurerForJava(project, configurer)
}

You run into way less weird syntax or typing issues then.

Edit: it's merged now.

from gradle-maven-publish-plugin.

vanniktech avatar vanniktech commented on July 17, 2024

Yup also believe this should be easier now. Will also try to have a look at this next week.

from gradle-maven-publish-plugin.

saket avatar saket commented on July 17, 2024

@gabrielittner that looks much nicer

from gradle-maven-publish-plugin.

Egorand avatar Egorand commented on July 17, 2024

Any updates on this?

from gradle-maven-publish-plugin.

Egorand avatar Egorand commented on July 17, 2024

Any progress on this?

On a side note, kinda frustrated by the amount of support this library is getting, thinking about switching back to custom Gradle files.

from gradle-maven-publish-plugin.

vanniktech avatar vanniktech commented on July 17, 2024

Have you had time to check out the PR and see whether it worked for you or not?

I've just realized that I mentioned the wrong Egor on the PR. Sorry for that and fixed it now.

from gradle-maven-publish-plugin.

Egorand avatar Egorand commented on July 17, 2024

Oh, found it, thanks. I'll review.

from gradle-maven-publish-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.