Skip to content

Commit fcf8db9

Browse files
Support added for AGP 8.13.0 (#565)
Co-authored-by: Suhail Bilal <suhailbilalofficial@gmail.com>
1 parent 0edb4c7 commit fcf8db9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.DS_Store
22
.dart_tool/
3-
3+
.idea
44
.packages
55
.pub/
66

android/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'com.example.FlutterToast'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.7.0'
5+
ext.kotlin_version = '2.1.20'
66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.1.3'
12+
classpath 'com.android.tools.build:gradle:8.13.0'
1313
//noinspection GradleDependency
1414
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1515
}
@@ -26,15 +26,15 @@ apply plugin: 'com.android.library'
2626
apply plugin: 'kotlin-android'
2727

2828
android {
29-
compileSdkVersion 33
29+
compileSdkVersion 36
3030

3131
compileOptions {
32-
sourceCompatibility JavaVersion.VERSION_11
33-
targetCompatibility JavaVersion.VERSION_11
32+
sourceCompatibility JavaVersion.VERSION_17
33+
targetCompatibility JavaVersion.VERSION_17
3434
}
3535

3636
kotlinOptions {
37-
jvmTarget = '11'
37+
jvmTarget = "17"
3838
}
3939

4040
sourceSets {
@@ -43,7 +43,7 @@ android {
4343

4444
defaultConfig {
4545
minSdkVersion 19
46-
targetSdkVersion 33
46+
targetSdkVersion 36
4747
if (project.android.hasProperty('namespace')) {
4848
namespace 'io.github.ponnamkarthik.toast.fluttertoast'
4949
}

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip

0 commit comments

Comments
 (0)