summaryrefslogtreecommitdiffstats
path: root/paste.dex.do
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2023-04-21 23:50:38 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2023-04-21 23:50:38 +0100
commit16a36c812fabda812ecf3aaa7f12fa6f44c66b2e (patch)
treeccae60abf8301ae451cfa1f21c33b8a62d5306cf /paste.dex.do
parentdb091bfd1db36ab66340ccad2eb7b6393a0aa3da (diff)
downloadandroid-jetpack-compose-redo-master.tar.gz
android-jetpack-compose-redo-master.tar.xz
android-jetpack-compose-redo-master.zip
Jetpack Compose and materialHEADmaster
Diffstat (limited to 'paste.dex.do')
-rwxr-xr-x[-rw-r--r--]paste.dex.do10
1 files changed, 2 insertions, 8 deletions
diff --git a/paste.dex.do b/paste.dex.do
index 53ec7c2..a70fb39 100644..100755
--- a/paste.dex.do
+++ b/paste.dex.do
@@ -1,12 +1,6 @@
#!/usr/bin/env bash
set -e
-jars=(R.jar MainActivity.jar)
-redo-ifchange .vars.rc
+redo-ifchange .vars.rc paste.jar
. ./.vars.rc
-android="$PLATFORM/android.jar"
-redo-ifchange "$BUILD_TOOLS/d8" "$android" kotlin.dex "${jars[@]}"
-tmp=$(mktemp -d)
-trap 'rm -rf "$tmp"' EXIT
-"$BUILD_TOOLS/d8" --classpath "$android" --output "$tmp" kotlin.dex "${jars[@]}"
-mv "$tmp/classes.dex" "$3"
+d8 "$3" paste.jar
# vim:ft=bash