Skip to content

Instantly share code, notes, and snippets.

@ramah
ramah / dart.yml
Created March 12, 2021 16:37 — forked from lukepighetti/dart.yml
Flutter Web + GitHub Actions + Firebase Hosting Preview Channels
# .github/workflows/dart.yml
name: build
on:
push:
branches: [master]
pull_request:
branches: [master]
@ramah
ramah / app-build.gradle.kts
Created April 14, 2024 15:00 — forked from DRSchlaubi/app-build.gradle.kts
Flutter Kotlin Gradle DSL
import java.util.Properties
import java.nio.file.Files
val localProperties = Properties()
val localPropertiesFile = rootProject.file("local.properties").toPath()
if (Files.exists(localPropertiesFile)) {
Files.newBufferedReader(localPropertiesFile).use { reader ->
localProperties.load(reader)
}
}