Skip to content

Commit

Permalink
chore: fix build on jdk 17
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev committed Jan 7, 2024
1 parent f8c0af4 commit 9a02011
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 136 deletions.
4 changes: 2 additions & 2 deletions app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:7.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion app/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip
4 changes: 2 additions & 2 deletions app/lib/screen/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class HomeScreen extends StatelessWidget {
bloc: bloc,
builder: (_, state) {
if (state is DisconnectedState) {
return Column(
return const Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
children: [
Center(
child: Text(
"Not connected to the server, re-trying... ",
Expand Down
Loading

0 comments on commit 9a02011

Please sign in to comment.