mirror of
https://github.com/HighCapable/SweetDependency.git
synced 2025-09-05 18:25:48 +08:00
docs: mark a fixme when support gradle 9.0.0 after in LibraryDependencyWrapper
This commit is contained in:
@@ -68,6 +68,7 @@ internal data class LibraryDependencyWrapper internal constructor(private val in
|
|||||||
* - [type] 需要为 [LibraryDependencyType.PROJECT] 否则始终为 null
|
* - [type] 需要为 [LibraryDependencyType.PROJECT] 否则始终为 null
|
||||||
* @return [Project] or null
|
* @return [Project] or null
|
||||||
*/
|
*/
|
||||||
|
// FIXME: https://stackoverflow.com/questions/79619019/how-replace-deprecated-getdependencyproject-in-a-backwards-compatible-way
|
||||||
val project get() = runCatching { (instance as? ProjectDependency?)?.dependencyProject }.getOrNull()
|
val project get() = runCatching { (instance as? ProjectDependency?)?.dependencyProject }.getOrNull()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user