Committed by
GitHub
Fixing android build problem on Flutter 2.10 (#174)
* Bumped compileSdkVersion and Kotlin version * Updated pubspec and CHANGELOG
Showing
3 changed files
with
7 additions
and
3 deletions
| @@ -2,7 +2,7 @@ group 'creativemaybeno.wakelock' | @@ -2,7 +2,7 @@ group 'creativemaybeno.wakelock' | ||
| 2 | version '1.0-SNAPSHOT' | 2 | version '1.0-SNAPSHOT' |
| 3 | 3 | ||
| 4 | buildscript { | 4 | buildscript { |
| 5 | - ext.kotlin_version = '1.5.31' | 5 | + ext.kotlin_version = '1.6.10' |
| 6 | repositories { | 6 | repositories { |
| 7 | google() | 7 | google() |
| 8 | mavenCentral() | 8 | mavenCentral() |
| @@ -25,7 +25,7 @@ apply plugin: 'com.android.library' | @@ -25,7 +25,7 @@ apply plugin: 'com.android.library' | ||
| 25 | apply plugin: 'kotlin-android' | 25 | apply plugin: 'kotlin-android' |
| 26 | 26 | ||
| 27 | android { | 27 | android { |
| 28 | - compileSdkVersion 29 | 28 | + compileSdkVersion 31 |
| 29 | 29 | ||
| 30 | sourceSets { | 30 | sourceSets { |
| 31 | main.java.srcDirs += 'src/main/kotlin' | 31 | main.java.srcDirs += 'src/main/kotlin' |
| @@ -2,7 +2,7 @@ name: wakelock | @@ -2,7 +2,7 @@ name: wakelock | ||
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on | 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on |
| 4 | Android, iOS, macOS, Windows, and web. | 4 | Android, iOS, macOS, Windows, and web. |
| 5 | -version: 0.6.1+2 | 5 | +version: 0.6.2 |
| 6 | repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock | 6 | repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock |
| 7 | 7 | ||
| 8 | environment: | 8 | environment: |
-
Please register or login to post a comment