Giter Club home page Giter Club logo

Comments (4)

greensopinion avatar greensopinion commented on June 20, 2024

Thanks for raising the issue, and great to see that there's a workaround!

You're right of course, this plug-in relies on projects following convention when it comes to layout.
To help me understand your use-case, what is the reasoning for having a non-standard directory structure?

from gradle-android-eclipse.

pvagner avatar pvagner commented on June 20, 2024

Well, I would say my use case is not very special.
We are using eclipse and android ADT to build the app. The release builds are still being made with android-sdk 23 targetting API 21 formally although there might be a few API 22 calls.
I am trying to move out of Android ADT for eclipse as I am having issues with it each time I'm installing android SDK update or android platform update and similar.
Just for the convenience I like to have up to date tools and SDKs installed so I can also build other apps occassionally.
So as a first step I have added gradle based build configuration to our project which will be used side by side with the original android ADT build configuration. If my team mate developer will also find this gradle based build config usefull we might consider switching to it in the future.
If nothing else then we are at least partially prepared for using up to date SDK and build tools.
So the project layout is oldskool with flat folders
src
res
assets

from gradle-android-eclipse.

greensopinion avatar greensopinion commented on June 20, 2024

You probably already know, but just in case: ADT is no longer officially supported. See http://android-developers.blogspot.com/2016/11/support-ended-for-eclipse-android.html for details.

This plug-in is intended for Gradle projects that use a standard layout (as produced by Android Studio). I'm sorry but your request is beyond the scope of this project.

I'm glad that you've got a workaround. You may want to consider moving to a supported tool chain.

from gradle-android-eclipse.

mortalis13 avatar mortalis13 commented on June 20, 2024

Another workaround:

eclipse {
  classpath {
    file.whenMerged {
      classpath -> classpath.entries.each {
        if (it.kind == "src" && it.path.equals("src/main/java")) it.path = "src"
      }
    }
  }
}

from gradle-android-eclipse.

Related Issues (15)

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.