Skip to content

Instantly share code, notes, and snippets.

View hamid97m's full-sized avatar
💯
Making

hamid mahmoodi hamid97m

💯
Making
View GitHub Profile
@DHosseiny
DHosseiny / migrate-to-version-catalog.kts
Last active March 29, 2024 12:32
Script to migrate gradle dependencies and plugins to version catalog. This script looks for libs.version.toml file and uses existing added libraries and logs not added libraries(just copy from logs and paste in libraries section)
import java.io.File
val path = "path/to/project/directory" // TODO: change here
println("Processing in folder: $path")
println()
fun writeDependenciesFromVersionCatalog(path: String) {