Comments (8)
Neat, though we don't have flavors to test this, but it'd be very nice to use something like this to run required gradle tasks automatically, the same Android Studio does using "Gradle-aware Make". But I'm afraid this would require Android Studio plugin.
from mainframer.
TL;TR: plugin for IntelliJ Idea or Android Studio that will automatically pass required build steps to mainframer.sh
would be very neat.
If someone would like to start working on this — please ping us here, so community could track your progress!
@ahornerr thanks for sharing your receipe, in v2.0.0 we'll have samples for different build systems and I'll add a link to your receipe into gradle-android
sample docs!
from mainframer.
Yes, I've noticed that if I don't give Android Studio enough time to update the .iml
file after switching flavors, it will build the old flavor. Typically this only takes about 10-15 seconds but it's important for me not to jump the gun.
from mainframer.
Thank you!
from mainframer.
Yes, I've noticed that if I don't give Android Studio enough time to update the .iml file after switching flavors, it will build the old flavor. Typically this only takes about 10-15 seconds but it's important for me not to jump the gun.
Doesn't it show the progress of Gradle sync that is happening once you switch between build types/flavors? I believe you simply need to wait until it completes and then start the build.
from mainframer.
That's correct, I'm just impatient :)
from mainframer.
Haha, that's understandable 😸
from mainframer.
Nice solution!
By the same way, can take gradle options from: .idea/workspace.xml
xmllint --xpath "string(//option[@name='COMMAND_LINE_OPTIONS']/@value)" .idea/workspace.xml
from mainframer.
Related Issues (20)
- Not really an Issue but Xcode builds are slow this would be amazing for Xcode! HOT 1
- Brew Tap Install HOT 8
- Verify file content in tests
- Include milliseconds in duration output
- Consider parallelizing rsync
- Shorter name of the binary HOT 1
- Ignore functionality on 3.x and contribution HOT 1
- TaskSelectionException: Task 'assembleDebug' not found in root project HOT 1
- How to make configuration for building iOS from non-mac OS local machine? HOT 4
- AndroidStudio 3.6 support request HOT 2
- Installation failed due to: 'Invalid File: /Users/bruce/xxx/xx/app/build/outputs/apk/debug/app-debug.apk' HOT 1
- Moving config parsing to `serde` HOT 3
- Split Linux CI job into build and separate integration test job
- Build binaries for most popular CPU architectures
- Use `tracing` crate instead of `println` HOT 1
- Parallel Duration support in config spec
- 3.0x not gobal configable yet. consider crate `directories` for config dir path?
- Exit status
- String literal treated as command after semicolon
- need help!
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 mainframer.