Kelven Galvão
Committed by GitHub

Fixing android build problem on Flutter 2.10 (#174)

* Bumped compileSdkVersion and Kotlin version

* Updated pubspec and CHANGELOG
## 0.6.2
* Fixed Android build issues.
## 0.6.1+2
* Documented the recommendation of not calling `Wakelock.enable()` directly inside of `main()`.
... ...
... ... @@ -2,7 +2,7 @@ group 'creativemaybeno.wakelock'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.5.31'
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
... ... @@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 29
compileSdkVersion 31
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
... ...
... ... @@ -2,7 +2,7 @@ name: wakelock
description: >-2
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on
Android, iOS, macOS, Windows, and web.
version: 0.6.1+2
version: 0.6.2
repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock
environment:
... ...