com.github.sgtsilvio.gradle.android-retrofix
Owner: Silvio Giebl
Backports Java 8 APIs (java.util.Optional, java.util.function, java.util.stream, java.util.concurrent.CompletableFuture) to Android APIs < 24 (Android 7.0 Nougat)
https://github.com/SgtSilvio/android-retrofix
Sources: https://github.com/SgtSilvio/android-retrofit
Version 1.0.0 (latest)
Created 26 March 2024.
Backports Java 8 APIs (java.util.Optional, java.util.function, java.util.stream, java.util.concurrent.CompletableFuture, java.time) to Android below API 24 (Android 7.0 Nougat)
Add this plugin to your build using the plugins DSL:
plugins {
id("com.github.sgtsilvio.gradle.android-retrofix") version "1.0.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.github.sgtsilvio.gradle.android-retrofix:com.github.sgtsilvio.gradle.android-retrofix.gradle.plugin:1.0.0") }
It can then be applied in the precompiled script plugin:plugins { id("com.github.sgtsilvio.gradle.android-retrofix") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.github.sgtsilvio.gradle.android-retrofix:com.github.sgtsilvio.gradle.android-retrofix.gradle.plugin:1.0.0") } } apply(plugin = "com.github.sgtsilvio.gradle.android-retrofix")
- Applying plugins to all subprojects .