These are chat archives for scala-android/sbt-android

1st
Sep 2016
Daniil Sivak
@seroperson
Sep 01 2016 00:12
hello there
Daniil Sivak
@seroperson
Sep 01 2016 00:19
@pfn, is it possible to use all features of autoplugin with sbt-android? just i can't set up appending settings via projectSettings and seems like sbt-android-gms doesn't use this feature too in favor of appending it explicitly in build.sbt. it's impossible at all or it's my fault?
Perry
@pfn
Sep 01 2016 00:20
it's impossible
because androidBuild must be set prior to any dependent plugin settings
and androidBuild can't be auto applied via autoplugin because it is under engineered
Daniil Sivak
@seroperson
Sep 01 2016 00:23
mm. thanks for explanation.
Rafal Wachol
@charafau
Sep 01 2016 03:33
I was looking at your extensions @pfn should I just include iota and use that extensions? How many methods do you have there ?
Perry
@pfn
Sep 01 2016 03:36
@charafau, it's all macro generated, and most of the stuff will be proguard out
Rafal Wachol
@charafau
Sep 01 2016 03:38
ok, thanks
Perry
@pfn
Sep 01 2016 04:10
I might add a typeclass instance caching thing so that every onXXX doesn't generate n methods
every extension adds something like 3 or 4 methods
can cut it down to 1 maybe
Rafal Wachol
@charafau
Sep 01 2016 05:14
I'm asking because I checked your other extension project
and it didnt work for me
but I checked it for like.. 10 minutes
Rafal Wachol
@charafau
Sep 01 2016 05:51
I used sbt gradle plugin
and it seems like $ sign is not welcomed
This message was deleted
This message was deleted
This message was deleted
Rafal Wachol
@charafau
Sep 01 2016 05:56
[error] Return code 1 for process '... /android-sdk/build-tools/23.0.2/aapt package -f --no-crunch -I ..../android-sdk/platforms/android-23/android.jar -M ...domainmodule/src/main/AndroidManifest.xml -S ...domainmodule/target/android/intermediates/res -A ... /domainmodule/target/android/intermediates/assets -m -J /... /domainmodule/target/android/generated/source -G ... /domainmodule/target/android/intermediates/proguard/proguard.txt --debug-mode --custom-package ....domainmodule --non-constant-id -0 apk --output-text-symbols ...domainmodule/target/android/generated/source --no-version-vectors'
and there I have an error
Perry
@pfn
Sep 01 2016 10:19
where's the error @charafau
what you pasted os mm
isnt the reason
and what about scala-conversions didn't work... it's a very basic library, there's nothing about it that can't work
Perry
@pfn
Sep 01 2016 18:30
meh, 2nd release this week, sucks
Perry
@pfn
Sep 01 2016 19:40
and I always come up with more stuff to shove in after making a release... :-/
Perry
@pfn
Sep 01 2016 20:50
@charafau and for that matter, you can copy/paste the command (and run it) that it spits out to see the actual error
Perry
@pfn
Sep 01 2016 22:05
ugh, I forgot to cross build and check my latest iota changes... custom definition is broken somehow...
Perry
@pfn
Sep 01 2016 22:12
ah, need to add scala-reflect if using macros, ugh, hate forgetting little details