Code Monkey home page Code Monkey logo

Comments (7)

StefMa avatar StefMa commented on May 30, 2024 1

I've done it in #153 .
In this way you can include a module into your aar.

But as in SO mentioned that is not the default and not typical for the java world.
Beside of that this issue have nothing todo with the bintray-release directly.
You can simply use the plugin and put another module into the aar/jar like I've done in #153.

I don't know what the plugin should do here?
I think it is not the responsibility of the plugin to define which other modules should be included in the aar/jar...

What i wouldn't want - having to add the plugin to each module and configure separately EWW

I think that is "another" topic.
The plugin should not be responsible to take care of putting module into a aar/jar.
But I think we could provide a better API for such cases.
Thinking about of having a top-level build.gradle with:

basePublish {
    userOrg = 'novoda'
    groupId = 'novoda.multi.module'
    publishVersion = "1"
//    artifactId = 'thirtyinch'
    uploadName = 'MultiModuleSample'
    description = 'a Model View Presenter library for Android'
    website = 'https://github.com/novodoa/multimodule'
}

and in each module build.gradle then just

publish {
    artifactId = 'module1' // module2, module3 etc.
}

I will close that and create another issue with that idea...

from bintray-release.

blundell avatar blundell commented on May 30, 2024

What I would want is - the plugin is added to the module that contains the public api. It would then find source code in other modules and merge it into this one. Thus when released it's not multimodule but only one.

from bintray-release.

blundell avatar blundell commented on May 30, 2024

What i wouldn't want - having to add the plugin to each module and configure separately EWW

from bintray-release.

blundell avatar blundell commented on May 30, 2024

Some background info http://stackoverflow.com/questions/26939628/gradle-mavendeployer-how-to-include-a-separate-modules-code

from bintray-release.

ouchadam avatar ouchadam commented on May 30, 2024

I was under the impression that compile project(:'foo') would pull all the .class into the local build dir hmm

from bintray-release.

blundell avatar blundell commented on May 30, 2024

same but apparently it doesn't it makes a transitive dependency like in that SO question :-(

from bintray-release.

xrigau avatar xrigau commented on May 30, 2024

Something to investigate then

from bintray-release.

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.