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
+
1
6
group ' id.passage.passage_flutter'
2
7
version ' 1.0-SNAPSHOT'
3
8
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
-
17
9
allprojects {
18
10
repositories {
19
11
google()
20
12
mavenCentral()
21
13
}
22
14
}
23
15
24
- apply plugin : ' com.android.library'
25
- apply plugin : ' kotlin-android'
26
-
27
16
android {
17
+ namespace ' id.passage.passage_flutter'
28
18
compileSdkVersion 34
29
19
30
20
compileOptions {
@@ -49,7 +39,7 @@ android {
49
39
testImplementation ' org.jetbrains.kotlin:kotlin-test'
50
40
testImplementation ' org.mockito:mockito-core:5.0.0'
51
41
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 '
53
43
}
54
44
55
45
testOptions {
@@ -63,5 +53,4 @@ android {
63
53
}
64
54
}
65
55
}
66
-
67
56
}
Original file line number Diff line number Diff line change 1
1
rootProject. 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