This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.animation.core.Animatable | |
| import androidx.compose.animation.core.LinearEasing | |
| import androidx.compose.animation.core.tween | |
| import androidx.compose.foundation.Canvas | |
| import androidx.compose.foundation.border | |
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.Column | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.foundation.layout.height | |
| import androidx.compose.foundation.layout.padding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from xml.dom.minidom import parseString | |
| # Documentation on Permissions in AndroidManifest.xml | |
| # https://developer.android.com/guide/topics/manifest/manifest-intro#perms | |
| data = '' # string data from file | |
| with open('AndroidManifest.xml', 'r') as f: | |
| data = f.read() | |
| dom = parseString(data) # parse file contents to xml dom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.google.common.graph.Graphs | |
| import com.google.common.graph.MutableValueGraph | |
| import com.google.common.graph.ValueGraphBuilder | |
| import org.gradle.api.DefaultTask | |
| import org.gradle.api.Project | |
| import org.gradle.api.artifacts.Configuration | |
| import org.gradle.api.artifacts.ProjectDependency | |
| import org.gradle.api.tasks.Input | |
| import org.gradle.api.tasks.TaskAction | |
| import org.gradle.api.tasks.options.Option |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ext.reversedMap = [:] as Map<String, String> | |
| void buildReversedMap(String versionCatalogName) { | |
| def versionCatalog = rootProject.extensions | |
| .getByType(VersionCatalogsExtension).named(versionCatalogName) | |
| reversedMap = versionCatalog.getDependencyAliases() | |
| .collectEntries { alias -> | |
| def versionCatalogAlias = "${versionCatalogName}.${alias}" | |
| def module = versionCatalog.findDependency(alias).get().get() | |
| def fullModuleName = "${module.getModule()}:${module.getVersionConstraint()}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Kotlin K2 FIR Example. Related Post: https://handstandsam.com/2024/05/30/kotlin-k2-fir-quickstart-guide/ |
OlderNewer