Comments (7)
It shouldn't be too much work to add. i'll see if I can get something up shortly
from composer-gradle-plugin.
Any luck?
from composer-gradle-plugin.
Been busy with that pesky full time job thing. I should have some time this week to get it brought up to date.
My plan is to break the current application plugin logic into a seperate new plugin (same jar) and then create one for a library and have the existing plugin automatically configure one or the other based on the android plugin on the project. after that it should be fairly straight forward. Only thing I am not sure about is the composer invocation for single apk tests.
if would be helpful if you could post your invocation params in this issue thread to bootstrap the trial and error iterations.
from composer-gradle-plugin.
@CristianGM give 0.8.0 a try. DSL might behave a bit different than 0.7.0 but it should be for the better. let me know how it goes.
from composer-gradle-plugin.
Thanks!
I'll try it ASAP ( maybe next week because I have lots of meetings ) and let you know the result.
Sorry I didn't even answer you with the invocation params.
from composer-gradle-plugin.
Exception in thread "main" java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.collections.ArraysKt___ArraysKt.sortedArray, parameter $receiver
at kotlin.collections.ArraysKt___ArraysKt.sortedArray(_Arrays.kt)
at com.gojuno.commander.android.AdbKt$buildTools$2.invoke(Adb.kt:19)
at com.gojuno.commander.android.AdbKt$buildTools$2.invoke(Adb.kt)
at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:130)
at com.gojuno.commander.android.AdbKt.getBuildTools(Adb.kt)
at com.gojuno.commander.android.AdbKt.access$getBuildTools$p(Adb.kt:1)
at com.gojuno.commander.android.AdbKt$aapt$2.invoke(Adb.kt:23)
at com.gojuno.commander.android.AdbKt$aapt$2.invoke(Adb.kt)
at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:130)
at com.gojuno.commander.android.AdbKt.getAapt(Adb.kt)
at com.gojuno.composer.ApkKt.parseTestPackage(Apk.kt:18)
at com.gojuno.composer.MainKt.main(Main.kt:40)
I have no Composer options set, it's a library module, I have AGP 3.1.4 and Gradle 4.10, and no idea what else you may need to look at the issue.
The stacktrace:
Caused by: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:395)
at org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJavaExecAction.java:37)
at org.gradle.api.tasks.JavaExec.exec(JavaExec.java:79)
at com.trevjonez.composer.ComposerTask.exec(ComposerTask.kt:99)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
...
from composer-gradle-plugin.
The issue was: #25
from composer-gradle-plugin.
Related Issues (20)
- Issue Cannot parse package HOT 5
- Unable to create custom tast HOT 7
- Graceful Exit 1 handling HOT 1
- Unable to use apk / testApk properties HOT 6
- Question - maintained HOT 2
- Overlapping outputs prevents gradle task cacheability HOT 5
- Composer tasks can't be run in parallel HOT 13
- `verboseOutput` `keepOutput` args are not passed to commander HOT 2
- Add style/lint checking to the CI flow. HOT 2
- Dynamic Feature support is not implemented correctly HOT 1
- Migrate from javaexec to worker api
- Pulling screenshots from external storage on sdk29 and above HOT 4
- Automate publishing HOT 1
- Support for --test-runner HOT 1
- Problem with gradle 6.4 HOT 4
- Run composer on all modules that have androidTests HOT 1
- Gradle Configuration Cache support
- Need to migrate publishing to maven central HOT 4
- Orchestrator fix for running tests on Android 11 (sdk 30) HOT 1
- Need support for AAB
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 composer-gradle-plugin.