Compare commits
5
Commits
0.1.1
..
09fdcea0f9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09fdcea0f9 | ||
|
|
6586398db6 | ||
|
|
46eeaca422 | ||
|
|
657b41d63c | ||
|
|
d6c0c79f8a |
No files matched your search
@@ -153,3 +153,4 @@ google-services.json
|
|||||||
# Android Profiling
|
# Android Profiling
|
||||||
*.hprof
|
*.hprof
|
||||||
|
|
||||||
|
linux-bundle.zip
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.application")
|
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")
|
id("org.jetbrains.kotlin.android") // id("kotlin-android")
|
||||||
|
|
||||||
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
||||||
id("dev.flutter.flutter-gradle-plugin")
|
id("dev.flutter.flutter-gradle-plugin")
|
||||||
}
|
}
|
||||||
|
|
||||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.hyperling.sunset_alarm"
|
namespace = "com.hyperling.sunset_alarm"
|
||||||
compileSdk = flutter.compileSdkVersion
|
compileSdk = flutter.compileSdkVersion
|
||||||
@@ -21,7 +21,7 @@ android {
|
|||||||
sourceCompatibility = JavaVersion.VERSION_17
|
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 {
|
kotlin {
|
||||||
compilerOptions {
|
compilerOptions {
|
||||||
jvmTarget.set(JvmTarget.JVM_17)
|
jvmTarget.set(JvmTarget.JVM_17)
|
||||||
@@ -49,7 +49,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
|
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
|
||||||
}
|
}
|
||||||
|
|
||||||
flutter {
|
flutter {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#Sat Sep 12 19:36:23 MST 2026
|
#Sat Sep 12 19:36:23 MST 2026
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
#distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
@@ -22,7 +22,8 @@ plugins {
|
|||||||
id("com.android.application") version "9.4.0" apply false
|
id("com.android.application") version "9.4.0" apply false
|
||||||
//id("com.android.application") version "9.0.1" 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
|
id("org.jetbrains.kotlin.android") version "2.4.20" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+23
@@ -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
@@ -1,7 +1,7 @@
|
|||||||
name: sunset_alarm
|
name: sunset_alarm
|
||||||
description: "Set an alarm to go off a specified time before sunset."
|
description: "Set an alarm to go off a specified time before sunset."
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.7.2
|
sdk: ^3.7.2
|
||||||
@@ -13,7 +13,7 @@ dependencies:
|
|||||||
shared_preferences: ^2.3.0
|
shared_preferences: ^2.3.0
|
||||||
flutter_local_notifications: ^18.0.0
|
flutter_local_notifications: ^18.0.0
|
||||||
timezone: ^0.9.0
|
timezone: ^0.9.0
|
||||||
http: ^1.2.0
|
http: ^1.2.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Reference in new issue
Block a user