This repository was archived by the owner on Jan 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +32
-18
lines changed
Expand file tree Collapse file tree 2 files changed +32
-18
lines changed Original file line number Diff line number Diff line change 1+ plugins {
2+ id " com.android.library"
3+ id " kotlin-android"
4+ }
5+
16group ' id.passage.passage_flutter'
27version ' 1.0-SNAPSHOT'
38
4- buildscript {
5- ext. kotlin_version = ' 1.8.10'
6- repositories {
7- google()
8- mavenCentral()
9- }
10-
11- dependencies {
12- classpath ' com.android.tools.build:gradle:7.3.1'
13- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
14- }
15- }
16-
179allprojects {
1810 repositories {
1911 google()
2012 mavenCentral()
2113 }
2214}
2315
24- apply plugin : ' com.android.library'
25- apply plugin : ' kotlin-android'
26-
2716android {
17+ namespace ' id.passage.passage_flutter'
2818 compileSdkVersion 34
2919
3020 compileOptions {
@@ -49,7 +39,7 @@ android {
4939 testImplementation ' org.jetbrains.kotlin:kotlin-test'
5040 testImplementation ' org.mockito:mockito-core:5.0.0'
5141 implementation ' id.passage.android:passage:1.8.2'
52- implementation ' com.google.code.gson:gson:2.9.0 '
42+ implementation ' com.google.code.gson:gson:2.10.1 '
5343 }
5444
5545 testOptions {
@@ -63,5 +53,4 @@ android {
6353 }
6454 }
6555 }
66-
6756}
Original file line number Diff line number Diff line change 11rootProject. name = ' passage_flutter'
2+ pluginManagement {
3+ def flutterSdkPath = {
4+ def properties = new Properties ()
5+ file(" local.properties" ). withInputStream { properties. load(it) }
6+ def flutterSdkPath = properties. getProperty(" flutter.sdk" )
7+ assert flutterSdkPath != null , " flutter.sdk not set in local.properties"
8+ return flutterSdkPath
9+ }()
10+
11+ includeBuild(" $flutterSdkPath /packages/flutter_tools/gradle" )
12+
13+ repositories {
14+ google()
15+ mavenCentral()
16+ gradlePluginPortal()
17+ }
18+ }
19+
20+ plugins {
21+ id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
22+ id " com.android.application" version " 8.5.2" apply false
23+ id " org.jetbrains.kotlin.android" version " 2.0.10" apply false
24+ }
25+
26+ include " :app"
You can’t perform that action at this time.
0 commit comments