-
Notifications
You must be signed in to change notification settings - Fork 10
Create a jetify rule for legacy libraries to migrate to AndroidX #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1 @@ | |||
| exports_files(["jetifier-standalone/bin/jetifier-standalone"]) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing the bat version?
| ;; | ||
| esac | ||
|
|
||
| CLASSPATH=$APP_HOME/lib/jetifier-standalone.jar:$APP_HOME/lib/jetifier-processor-1.0.0-beta05.jar:$APP_HOME/lib/commons-cli-1.3.1.jar:$APP_HOME/lib/jetifier-core-1.0.0-beta05.jar:$APP_HOME/lib/asm-util-6.0.jar:$APP_HOME/lib/asm-commons-6.0.jar:$APP_HOME/lib/asm-tree-6.0.jar:$APP_HOME/lib/asm-6.0.jar:$APP_HOME/lib/jdom2-2.0.6.jar:$APP_HOME/lib/kotlin-stdlib-1.3.31.jar:$APP_HOME/lib/gson-2.8.0.jar:$APP_HOME/lib/kotlin-stdlib-common-1.3.31.jar:$APP_HOME/lib/annotations-13.0.jar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the jars in the PR (I see that you removed them)
| @@ -0,0 +1,188 @@ | |||
| #!/usr/bin/env sh | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't you avoid this shell script stuff, and just import the jettifier standalone java and export a java_binary to execute it? Why do work the java_binary does anyway? What am I missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crap. didn't mean to start a review with this, just a single comment. :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this was just accidentally committed, as this script is just part of https://dl.google.com/dl/android/studio/jetifier-zips/1.0.0-beta07/jetifier-standalone.zip
Archive: jetifier-standalone.zip
Length Date Time Name
--------- ---------- ----- ----
0 09-12-2019 02:29 jetifier-standalone/
0 09-12-2019 02:29 jetifier-standalone/lib/
16969 09-12-2019 02:29 jetifier-standalone/lib/jetifier-standalone.jar
165301 09-12-2019 02:26 jetifier-standalone/lib/jetifier-processor-1.0.0-beta07.jar
52988 09-12-2019 02:13 jetifier-standalone/lib/commons-cli-1.3.1.jar
128890 09-12-2019 02:19 jetifier-standalone/lib/jetifier-core-1.0.0-beta07.jar
71221 09-12-2019 02:13 jetifier-standalone/lib/asm-util-6.0.jar
77401 09-12-2019 02:13 jetifier-standalone/lib/asm-commons-6.0.jar
48143 09-12-2019 02:13 jetifier-standalone/lib/asm-tree-6.0.jar
95209 09-12-2019 02:13 jetifier-standalone/lib/asm-6.0.jar
304924 09-12-2019 02:13 jetifier-standalone/lib/jdom2-2.0.6.jar
1290549 09-12-2019 02:13 jetifier-standalone/lib/kotlin-stdlib-1.3.41.jar
231952 09-12-2019 02:13 jetifier-standalone/lib/gson-2.8.0.jar
162009 09-12-2019 02:13 jetifier-standalone/lib/kotlin-stdlib-common-1.3.41.jar
17536 09-12-2019 02:13 jetifier-standalone/lib/annotations-13.0.jar
0 09-12-2019 02:29 jetifier-standalone/bin/
3415 09-12-2019 02:19 jetifier-standalone/bin/jetifier-standalone.bat
6348 09-12-2019 02:19 jetifier-standalone/bin/jetifier-standalone
--------- -------
2672855 18 files
No description provided.