Skip to content

Commit 6e57b39

Browse files
committed
build(android): keep Kotlin plugin for compatibility
1 parent fe48010 commit 6e57b39

4 files changed

Lines changed: 5 additions & 0 deletions

File tree

packages/battery_plus/battery_plus/android/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ buildscript {
1010

1111
dependencies {
1212
classpath 'com.android.tools.build:gradle:8.12.1'
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1314
}
1415
}
1516

@@ -21,6 +22,7 @@ rootProject.allprojects {
2122
}
2223

2324
apply plugin: 'com.android.library'
25+
apply plugin: 'kotlin-android'
2426

2527
android {
2628
namespace 'dev.fluttercommunity.plus.battery'

packages/network_info_plus/network_info_plus/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ rootProject.allprojects {
2222
}
2323

2424
apply plugin: 'com.android.library'
25+
apply plugin: 'kotlin-android'
2526

2627
android {
2728
namespace 'dev.fluttercommunity.plus.network_info'

packages/package_info_plus/package_info_plus/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rootProject.allprojects {
2323
}
2424

2525
apply plugin: 'com.android.library'
26+
apply plugin: 'kotlin-android'
2627

2728
android {
2829
namespace 'dev.fluttercommunity.plus.packageinfo'

packages/sensors_plus/sensors_plus/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ rootProject.allprojects {
2222
}
2323

2424
apply plugin: 'com.android.library'
25+
apply plugin: 'kotlin-android'
2526

2627
android {
2728
namespace 'dev.fluttercommunity.plus.sensors'

0 commit comments

Comments
 (0)