5 Commits
6 changed files with 34 additions and 9 deletions

No files matched your search

+1
View File
@@ -153,3 +153,4 @@ google-services.json
# Android Profiling
*.hprof
linux-bundle.zip
+5 -5
View File
@@ -1,15 +1,15 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
id("com.android.application")
// This will need removed in Gradle/AGP 9.
// This supposedly needs removed in Gradle/AGP 9 but works fine.
id("org.jetbrains.kotlin.android") // id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
android {
namespace = "com.hyperling.sunset_alarm"
compileSdk = flutter.compileSdkVersion
@@ -21,7 +21,7 @@ android {
sourceCompatibility = JavaVersion.VERSION_17
}
// This will need removed in Gradle/AGP 9.
// This supposedly needs removed in Gradle/AGP 9, but then uses 21 and fails to build.
kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
@@ -49,7 +49,7 @@ android {
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
}
flutter {
+1 -1
View File
@@ -1,7 +1,7 @@
#Sat Sep 12 19:36:23 MST 2026
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
#distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
+2 -1
View File
@@ -22,7 +22,8 @@ plugins {
id("com.android.application") version "9.4.0" apply false
//id("com.android.application") version "9.0.1" apply false
// This will need removed in Gradle/AGP 9.
// This will need removed in Gradle/AGP 9. JK - needs to exist otherwiese:
// "Error: Your project's Kotlin version (2.2.10) is lower than Flutter's minimum supported version of 2.2.20."
id("org.jetbrains.kotlin.android") version "2.4.20" apply false
}
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# 20260913 - Hyperling
# Build the project and add them to a releases folder.
# TODO
# create dir name release-${version} to store these in,
echo -e "\nCleaning..."
flutter clean
echo -e "\nBuilding Linux..."
flutter build linux
zip -r release/linux-bundle.zip build/linux/x64/release/bundle/*
echo -e "\nCleaning..."
flutter clean
echo -e "\nBuilding APK..."
flutter build apk
cp -v build/app/outputs/flutter-apk/app-release.apk release/
echo -e "\nCleaning..."
flutter clean
+2 -2
View File
@@ -1,7 +1,7 @@
name: sunset_alarm
description: "Set an alarm to go off a specified time before sunset."
publish_to: 'none'
version: 0.1.1
version: 0.1.2
environment:
sdk: ^3.7.2
@@ -13,7 +13,7 @@ dependencies:
shared_preferences: ^2.3.0
flutter_local_notifications: ^18.0.0
timezone: ^0.9.0
http: ^1.2.0
http: ^1.2.0
dev_dependencies:
flutter_test: