diff --git a/android/build.gradle b/android/build.gradle index 15914ce..25592c6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ group 'de.kevlatus.flutter_broadcasts' version '1.0-SNAPSHOT' buildscript { - ext.kotlin_version = '1.5.20' + ext.kotlin_version = '1.8.0' repositories { google() jcenter() @@ -25,6 +25,7 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + namespace "de.kevlatus.flutter_broadcasts" compileSdkVersion 31 sourceSets { @@ -33,6 +34,10 @@ android { defaultConfig { minSdkVersion 24 } + + kotlinOptions { + jvmTarget = '1.8' + } } dependencies { diff --git a/pubspec.yaml b/pubspec.yaml index bb082e5..0d64966 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ -name: flutter_broadcasts +name: flutter_broadcasts_4m description: A plugin for sending and receiving broadcasts with Android intents and iOS notifications. -version: 0.4.0 -repository: https://github.com/kevlatus/flutter_broadcasts +version: 0.4.2 +repository: https://github.com/4murs/flutter_broadcasts environment: sdk: ">=2.12.0 <4.0.0"