Skip to content

Commit 9243525

Browse files
committed
flutter create --org dev.fluttercommunity.android_id ., upgrade dependencies
1 parent 69bebd2 commit 9243525

File tree

17 files changed

+119
-435
lines changed

17 files changed

+119
-435
lines changed

.metadata

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled.
4+
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: f1875d570e39de09040c8f79aa13cc56baab8db1
8-
channel: stable
7+
revision: "a14f74ff3a1cbd521163c5f03d68113d50af93d3"
8+
channel: "stable"
99

1010
project_type: plugin
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
17-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
16+
create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
17+
base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
1818
- platform: android
19-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
20-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
19+
create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
20+
base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
2121

2222
# User provided section
2323

android/build.gradle

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
group 'dev.fluttercommunity.android_id'
2-
version '1.0-SNAPSHOT'
1+
group = "dev.fluttercommunity.android_id"
2+
version = "1.0-SNAPSHOT"
33

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

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:8.2.2'
13-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12+
classpath("com.android.tools.build:gradle:8.1.4")
13+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
1414
}
1515
}
1616

@@ -21,30 +21,48 @@ allprojects {
2121
}
2222
}
2323

24-
apply plugin: 'com.android.library'
25-
apply plugin: 'kotlin-android'
24+
apply plugin: "com.android.library"
25+
apply plugin: "kotlin-android"
2626

2727
android {
28-
compileSdkVersion 31
29-
3028
if (project.android.hasProperty("namespace")) {
31-
namespace 'dev.fluttercommunity.android_id'
29+
namespace = "dev.fluttercommunity.android_id"
3230
}
3331

32+
compileSdk = 34
33+
3434
compileOptions {
35-
sourceCompatibility JavaVersion.VERSION_1_8
36-
targetCompatibility JavaVersion.VERSION_1_8
35+
sourceCompatibility = JavaVersion.VERSION_17
36+
targetCompatibility = JavaVersion.VERSION_17
3737
}
3838

3939
kotlinOptions {
40-
jvmTarget = '1.8'
40+
jvmTarget = "17"
4141
}
4242

4343
sourceSets {
44-
main.java.srcDirs += 'src/main/kotlin'
44+
main.java.srcDirs += "src/main/kotlin"
45+
test.java.srcDirs += "src/test/kotlin"
4546
}
4647

4748
defaultConfig {
48-
minSdkVersion 16
49+
minSdk = 21
50+
}
51+
52+
dependencies {
53+
testImplementation("org.jetbrains.kotlin:kotlin-test")
54+
testImplementation("org.mockito:mockito-core:5.12.0")
55+
}
56+
57+
testOptions {
58+
unitTests.all {
59+
useJUnitPlatform()
60+
61+
testLogging {
62+
events "passed", "skipped", "failed", "standardOut", "standardError"
63+
outputs.upToDateWhen {false}
64+
showStandardStreams = true
65+
}
66+
}
4967
}
5068
}
-58.4 KB
Binary file not shown.

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 6 deletions
This file was deleted.

android/gradlew

Lines changed: 0 additions & 234 deletions
This file was deleted.

0 commit comments

Comments
 (0)