diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-21 23:50:38 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-21 23:50:38 +0100 |
commit | 16a36c812fabda812ecf3aaa7f12fa6f44c66b2e (patch) | |
tree | ccae60abf8301ae451cfa1f21c33b8a62d5306cf /default.jar.do | |
parent | db091bfd1db36ab66340ccad2eb7b6393a0aa3da (diff) | |
download | android-jetpack-compose-redo-master.tar.gz android-jetpack-compose-redo-master.tar.xz android-jetpack-compose-redo-master.zip |
Diffstat (limited to 'default.jar.do')
-rw-r--r-- | default.jar.do | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/default.jar.do b/default.jar.do deleted file mode 100644 index a324074..0000000 --- a/default.jar.do +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash -set -e -src=${1%.jar} -redo-ifchange .vars.rc -. ./.vars.rc -classpath=($PLATFORM/android.jar) -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT -if [[ $1 != R.jar ]]; then classpath+=(R.jar); fi -for e in "${classpath[@]}"; do redo-ifchange "$e"; done -IFS=:; classpath=${classpath[*]} -if [[ -f "$src.kt" ]]; then - src="$src.kt" - redo-ifchange "$KOTLINC" "$src" - "$KOTLINC" -jvm-target 1.8 -cp "$classpath" -d "$tmp" "$src" -else - src="$src.java" - redo-ifchange "$JAVAC" "$src" - "$JAVAC" -source 11 -target 11 -classpath "$classpath" -d "$tmp" "$src" -fi -jar --create --no-compress --date=2000-01-01T00:00:00Z --file "$3" -C "$tmp" . -# vim:ft=bash |