summaryrefslogtreecommitdiffstats
path: root/Android.bp
Commit message (Collapse)AuthorAgeFilesLines
* Exclude META-INF/versions from all kotlin jarsAurimas Liutikas2020-08-271-1/+7
| | | | | | | | | | | | | Kotlin libraries now support multi-release jar files that Soong does not support yet. This change excludes META-INF/versions to fix issues caused by it for jarjar and test infrastructure. https://openjdk.java.net/jeps/238 Bug: 166695114 Test: Manual inspection Change-Id: I8921a14a5477e185bc76ed9c1f9ef7722612fcf2
* Upgrade kotlinc to v1.4.0Aurimas Liutikas2020-08-261-0/+2
| | | | | | Bug: 165406304 Test: make Change-Id: I749a661250c293c258a4932e392068de62585e7f
* Add java_import for kotlin-stdlib-jdk8Colin Cross2019-05-151-0/+14
| | | | | | | | kotlin-stdlib-jdk8 contains extensions for the Kotlin stdlib for use when targeting jdk8. Test: m checkbuild Change-Id: I7aab3dfb888a3117518ce35830c1ad45a162a431
* Add kotlin-annotations moduleColin Cross2019-01-221-0/+7
| | | | | | | | | | Modules using kapt for annotation processing need an implicit dependency on org.jetbrains.annotations found in annotations-13.0.jar. Bug: 122251693 Test: m checkbuild Change-Id: Ifba4b1d286a8a7021237d7655748963e1017505b
* Add kotlin-test targetmaster-cuttlefish-testing-releaseEric Holk2018-08-281-0/+10
| | | | | | This is needed for Kotlin programs to be able to run tests. Change-Id: I43e64440d69d8a5905b50ebe627bca101a71a31f
* Remove unused library targetsandroid-p-preview-5Neil Fuller2018-07-021-16/+0
| | | | | | | | | Revert "Add kotlin-test and kotlin-stdlib-renamed libraries" This reverts commit 7e0c7b88c2b648a7f53dae88238c79fb9364890e. Test: Build Change-Id: I23765d405dbafbfd4001a000ca04368466b6bfaf
* Export kotlin-reflect for metalavaColin Cross2018-06-051-0/+7
| | | | | | | | | Metalava uses kotlin-stdlib from external/kotlinc, export a matching kotlin-reflect. Bug: 78245848 Test: m metalava Change-Id: Id10e50de805952ba667b2e0d788e2178789fb976
* Add kotlin-test and kotlin-stdlib-renamed librariesandroid-wear-p-preview-2android-p-preview-3android-p-preview-2Przemyslaw Szczepaniak2018-03-201-0/+16
| | | | | | | | | | | | | | kotlin-test is backed by junit and allows to write kotlin tests. kotlin-stdlib-renamed is a kotlin standard library that can be used in framework/platform android code. It's renamed to com.android.kotlin.* kotlin.test is not renambed due to its ServiceLoader usage to load AsserterContributor implementation. ServiceLoader is not happy with jarjar renaming. Bug: 73281388 Test: tbd Change-Id: I7f58062ac9a377f0bcf800df068bf94d83110d24
* Fix link-type check warnings on kotlin-stdlibandroid-p-preview-1Jiyong Park2018-02-261-0/+1
| | | | | | | | | | | | | | | | | | This change fixes the link-type check warning from an app built with SDK to the prebuilt module kotlin-stdlib. The warnings were triggered since the prebuilt module is declared without the sdk_version property and thus it is incorrectly identified as a lib using private APIs. Fixing the warning simply by setting sdk_version property to "core_current". The value was chosen instead of "current" because the kotlin library does not have any dependency to Android-specific APIs. Bug: 69899800 Test: m -j android-arch-room-migration is successful and does not show any link-type warning (for now the test must be run in the internal master as dependency to kotlin-stdlib is not yet on AOSP) Change-Id: I66c296bea3a92540a8a0546fb824a8aa2118857e
* Add prebuilt module for kotlin stdlibColin Cross2017-10-171-0/+5
Add a prebuilt module that soong will use to depend on the kotlin standard library. Test: m checkbuild Change-Id: I68ffc6689ea8c3b636af3c9b010892b0360d9a9d