Refactor: Clean up unused code and improve error handling
This commit performs a general cleanup of the codebase by removing unused dependencies, comments, and functions. It also improves error handling in the build logic. Key changes: - Removed a TODO and an inappropriate function `dickPizda` from `Extensions.kt`. - Removed stale TODO comments from `core/data/build.gradle.kts` and `core/domain/build.gradle.kts`. - Replaced a `TODO` call with a proper `IllegalArgumentException` in `KotlinAndroid.kt` for better error reporting when encountering unsupported project extensions.
This commit is contained in:
@@ -143,8 +143,6 @@ infix fun ClosedRange<Int>.collidesWith(other: ClosedRange<Int>): Boolean {
|
||||
return this.start < other.endInclusive && other.start < this.endInclusive
|
||||
}
|
||||
|
||||
fun dickPizda(a: Int): String = ""
|
||||
|
||||
operator fun ClosedRange<Int>.minus(other: ClosedRange<Int>): ClosedRange<Int> {
|
||||
return (this.start - other.start)..(this.endInclusive - other.endInclusive)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user