Skip to content

Commit 3a042bc

Browse files
committed
v7.3.0
1 parent a9d27d2 commit 3a042bc

File tree

8 files changed

+46
-45
lines changed

8 files changed

+46
-45
lines changed

LabelStoreMax/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [7.3.0] - 2024-04-06
2+
3+
* Update Android config
4+
* Pubspec.yaml dependency updates
5+
16
## [7.2.0] - 2024-04-03
27

38
* Update Base ApiService

LabelStoreMax/android/app/build.gradle

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
}
6+
17
def localProperties = new Properties()
28
def localPropertiesFile = rootProject.file('local.properties')
39
if (localPropertiesFile.exists()) {
@@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
612
}
713
}
814

9-
def flutterRoot = localProperties.getProperty('flutter.sdk')
10-
if (flutterRoot == null) {
11-
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12-
}
13-
1415
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1516
if (flutterVersionCode == null) {
1617
flutterVersionCode = '1'
@@ -21,16 +22,12 @@ if (flutterVersionName == null) {
2122
flutterVersionName = '1.0'
2223
}
2324

24-
apply plugin: 'com.android.application'
25-
apply plugin: 'kotlin-android'
26-
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27-
2825
android {
2926
packagingOptions {
3027
exclude 'META-INF/DEPENDENCIES'
3128
}
3229

33-
compileSdkVersion 33
30+
compileSdkVersion 34
3431

3532
sourceSets {
3633
main.java.srcDirs += 'src/main/kotlin'
@@ -44,7 +41,7 @@ android {
4441
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4542
applicationId "com.woosignal.android"
4643
minSdkVersion 21
47-
targetSdkVersion 33
44+
targetSdkVersion 34
4845
versionCode flutterVersionCode.toInteger()
4946
versionName flutterVersionName
5047
multiDexEnabled true
@@ -63,7 +60,4 @@ flutter {
6360
source '../..'
6461
}
6562

66-
dependencies {
67-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
68-
implementation "androidx.multidex:multidex:2.0.1"
69-
}
63+
dependencies {}

LabelStoreMax/android/build.gradle

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
buildscript {
2-
ext.kotlin_version = '1.7.10'
3-
repositories {
4-
google()
5-
jcenter()
6-
}
7-
8-
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.3.0'
10-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11-
}
12-
}
13-
141
allprojects {
152
repositories {
163
google()
17-
jcenter()
4+
mavenCentral()
185
}
196
}
207

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
org.gradle.jvmargs=-Xmx1536M
2-
android.enableR8=true
1+
org.gradle.jvmargs=-Xmx4G
32
android.useAndroidX=true
43
android.enableJetifier=true

LabelStoreMax/android/settings.gradle

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1-
include ':app'
1+
pluginManagement {
2+
def flutterSdkPath = {
3+
def properties = new Properties()
4+
file("local.properties").withInputStream { properties.load(it) }
5+
def flutterSdkPath = properties.getProperty("flutter.sdk")
6+
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7+
return flutterSdkPath
8+
}
9+
settings.ext.flutterSdkPath = flutterSdkPath()
210

3-
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4-
def properties = new Properties()
11+
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
512

6-
assert localPropertiesFile.exists()
7-
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
13+
repositories {
14+
google()
15+
mavenCentral()
16+
gradlePluginPortal()
17+
}
18+
}
819

9-
def flutterSdkPath = properties.getProperty("flutter.sdk")
10-
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11-
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
20+
plugins {
21+
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22+
id "com.android.application" version "7.3.0" apply false
23+
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
24+
}
25+
26+
include ":app"

LabelStoreMax/lib/resources/widgets/compo_home_widget.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class CompoHomeWidget extends StatefulWidget {
3838
}
3939

4040
class _CompoHomeWidgetState extends NyState<CompoHomeWidget> {
41+
4142
@override
4243
boot() async {
4344
await _loadHome();

LabelStoreMax/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ packages:
221221
dependency: transitive
222222
description:
223223
name: device_meta
224-
sha256: f9011bce11153dac056b9d945050d796619c4858373b39296929916b048114cc
224+
sha256: "0ed759a32c785f2bafad4ad264f0a81b15967a099d2bb4641a8cd885414df302"
225225
url: "https://pub.dev"
226226
source: hosted
227-
version: "1.1.17"
227+
version: "1.1.19"
228228
dio:
229229
dependency: transitive
230230
description:
@@ -1230,10 +1230,10 @@ packages:
12301230
dependency: "direct main"
12311231
description:
12321232
name: woosignal
1233-
sha256: "6390953da29b596eea94fecf26863b1f1bbf3503b5641de92910358432f7a01f"
1233+
sha256: "04742a2a1de98451352c1247a2b3cc8bcd0d1113ec0741a35ede6391e8eb4eaf"
12341234
url: "https://pub.dev"
12351235
source: hosted
1236-
version: "3.13.4"
1236+
version: "3.13.5"
12371237
wp_json_api:
12381238
dependency: "direct main"
12391239
description:

LabelStoreMax/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Official WooSignal App Template for WooCommerce
22

33
# Label StoreMax
4-
# Version: 7.2.0
4+
# Version: 7.3.0
55
# Author: Anthony Gordon
66
# Homepage: https://woosignal.com
77
# Documentation: https://woosignal.com/docs/app/label-storemax
@@ -30,7 +30,7 @@ dependencies:
3030
analyzer: ^5.12.0
3131
intl: ^0.18.0
3232
nylo_framework: ^5.24.6
33-
woosignal: ^3.13.4
33+
woosignal: ^3.13.5
3434
wp_json_api: ^3.5.4
3535
cached_network_image: ^3.3.1
3636
package_info_plus: ^4.2.0

0 commit comments

Comments
 (0)