History log of /frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9462a308f59846b0947a0ca22226f0f4dee51414 04-Jun-2018 Filip Pavlis <pavlis@google.com> Update design mappings in jetifier.

Use fallback rule for support.design and material.
Remove check when to rewrite own package in pom file. As long as the
dependency artifact:group are supposed to be rewritten it should be.
Also previsously it was not intuitive and the flag could be easily
missing.

Test: N/A
Bug: b/64833662
Change-Id: Ie111f57da67eac077ae40ba7c92e463a18fe03a3
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
5b12e59efaab28afee6ffc712a7c8d6ecbae8144 23-May-2018 Filip Pavlis <pavlis@google.com> Improvements in Jetifier.

Cleaned up standalone tool API
- We no longer have option for providing multiple files or specifing
output directory. So the tool now supports only file to file conversion.
I found the origal approach to be a bit ambiguous and also we never
actually used it it was just part of the initialdesign.
- DependencyVersionsMap is now part of the config file instead of being
in the code. This allows more flexibility when providing custom config file
and enables last minute fixes.

Bug: 64833662
Test: Updated
Change-Id: I475e74a2f6c5e61c3b3dec5d1bcc9c41ff2fee9b
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
46fd22a7ae48f6952264396ba3932f72c7701de7 09-May-2018 Filip Pavlis <pavlis@google.com> Improvements in jetifier POM depenendecy system.

1) Remove support for set of dependencies
2) Add new method to provide map of all the dependecies (to be used by AGP).
3) Add method to detect old and new artifacts.
4) Added comments into GroupsReplacer as suggested in the previous
review.

Bug: 64833662
Test: Added
Change-Id: Id9fca469ac8c80574e567cf81183e4789b6c6c39
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
4e29091e542d87269447fdc8b3254ce86af06845 02-May-2018 Filip Pavlis <pavlis@google.com> Relax conditions for jetifier xml rewrite.

Jetifier had very restricted set of XML tags to rewrite. This was
causing failures and the list had to be extened. Because this does not
scale well I have relaxed the selectors and jetifier now tries to
rewrite basically anything in quotes or in tags.

Another tiny change is that Jetifier will move files no matter if it is
rewriting support library or not. This is related to the new strategy
that we will rewrite files that are not originally from SL but are in
the same namespace and satisfy our rules. By this we won't break usages
of internal APIs.

Test: Added
Change-Id: I20041897eaa98899294092bd88a9371d811026d6
Fix: 79111795
Bug: 64833662
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
448359062b9caf5f96c0028dc12cba5d2647ea6f 30-Apr-2018 Filip Pavlis <pavlis@google.com> Improvements in jetifier errors handling.

+ Make regular jetification to not crash when types are missing in defined
prefixes and print warnings instead
+ Make dejetification crash on build server if types are missing
+ Remove debug logging channel (use verbose)
+ Add warning logging channel
+ Remove ktx mappings
+ Comment out android.support.test rules for dependencies until it gets refactored

Bug: 64833662, 78863938
Test: Locally (jetified wearable package)
Change-Id: I5d11a9dbbb417645b0679557f08022d5450998ad
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
39ac87e5407faa238681f3ddb65efc2e4c5144fe 25-Apr-2018 Filip Pavlis <pavlis@google.com> Better versioning support in Jetifier.

Jetifier can now support versions as parameter which gives more
flexibility when rewriting depenndencies. The Processor will now use
latest available released versions of dependencies (which is alpha1 at
this moment). While standalone is using latest unreleased (1.0.0, 2.0.0)
but standalone can be given a version set via a new argument.

Bug: b/78541880
Bug: b/64833662
Test: Added
Change-Id: I03509e23fe3cb98f6e384b961ff9a009dd09199d
(cherry picked from commit 8fd78bd9fc36fa71b90ecd423de90c8f129f3709)
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt
ba381a314edcd57963ed1ac5910595e04faf29cc 28-Mar-2018 Filip Pavlis <pavlis@google.com> Refactor Jetifier packages to com.android.tools

Bug: b/64833662
Test: it builds!

Change-Id: I27bc0d2b0de17ba0d22e7588dc0742a041f17f31
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomDocument.kt