Comments (4)
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.
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.
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.
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)
- update pom dependencies to avoid systempath HOT 1
- Usage with Android Tools 3.2.1 HOT 2
- Firebase Integration HOT 1
- Maven version compiled with class version 54, should be 52 for Java 8 compatibility HOT 7
- Support custom source and resource folders HOT 1
- Build error "Resource '/myproject/bin/default' does not exist." HOT 3
- The type R/BuildConfig is already defined HOT 4
- AARs are exploded to the build directory which gets deleted by gradle clean HOT 1
- Usage with Gradle 5 HOT 1
- Deploy to bintray HOT 2
- Plugin with id 'com.greensopinion.gradle-android-eclipse' not found. HOT 8
- submodules support HOT 2
- Logging with slf4j during development HOT 1
- Usage with Gradle 4: `implementation` dependencies et al. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-android-eclipse.