This repository was archived by the owner on Jan 31, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +95
-105
lines changed
src/main/kotlin/com/example/rhttp_example Expand file tree Collapse file tree 10 files changed +95
-105
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ gradle-wrapper.jar
55/gradlew.bat
66/local.properties
77GeneratedPluginRegistrant.java
8+ .cxx /
89
910# Remember to never publicly share your keystore.
10- # See https://flutter.dev/docs/deployment/android# reference-the- keystore-from-the-app
11+ # See https://flutter.dev/to/ reference-keystore
1112key.properties
1213** /* .keystore
1314** /* .jks
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ plugins {
2+ id(" com.android.application" )
3+ id(" kotlin-android" )
4+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5+ id(" dev.flutter.flutter-gradle-plugin" )
6+ }
7+
8+ android {
9+ namespace = " com.example.rhttp_example"
10+ compileSdk = flutter.compileSdkVersion
11+ ndkVersion = flutter.ndkVersion
12+
13+ compileOptions {
14+ sourceCompatibility = JavaVersion .VERSION_11
15+ targetCompatibility = JavaVersion .VERSION_11
16+ }
17+
18+ kotlinOptions {
19+ jvmTarget = JavaVersion .VERSION_11 .toString()
20+ }
21+
22+ defaultConfig {
23+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24+ applicationId = " com.example.rhttp_example"
25+ // You can update the following values to match your application needs.
26+ // For more information, see: https://flutter.dev/to/review-gradle-config.
27+ minSdk = flutter.minSdkVersion
28+ targetSdk = flutter.targetSdkVersion
29+ versionCode = flutter.versionCode
30+ versionName = flutter.versionName
31+ }
32+
33+ buildTypes {
34+ release {
35+ // TODO: Add your own signing config for the release build.
36+ // Signing with the debug keys for now, so `flutter run --release` works.
37+ signingConfig = signingConfigs.getByName(" debug" )
38+ }
39+ }
40+ }
41+
42+ flutter {
43+ source = " ../.."
44+ }
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ package com.example.rhttp_example
22
33import io.flutter.embedding.android.FlutterActivity
44
5- class MainActivity : FlutterActivity ()
5+ class MainActivity : FlutterActivity ()
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ allprojects {
2+ repositories {
3+ google()
4+ mavenCentral()
5+ }
6+ }
7+
8+ val newBuildDir: Directory = rootProject.layout.buildDirectory.dir(" ../../build" ).get()
9+ rootProject.layout.buildDirectory.value(newBuildDir)
10+
11+ subprojects {
12+ val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
13+ project.layout.buildDirectory.value(newSubprojectBuildDir)
14+ }
15+ subprojects {
16+ project.evaluationDependsOn(" :app" )
17+ }
18+
19+ tasks.register<Delete >(" clean" ) {
20+ delete(rootProject.layout.buildDirectory)
21+ }
Original file line number Diff line number Diff line change 1- org.gradle.jvmargs =-Xmx4G -XX:+HeapDumpOnOutOfMemoryError
1+ org.gradle.jvmargs =-Xmx8G -XX: MaxMetaspaceSize =4G -XX: ReservedCodeCacheSize =512m -XX:+HeapDumpOnOutOfMemoryError
22android.useAndroidX =true
33android.enableJetifier =true
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =wrapper/dists
5- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.3 -all.zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -all.zip
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ pluginManagement {
2+ val flutterSdkPath = run {
3+ val properties = java.util.Properties ()
4+ file(" local.properties" ).inputStream().use { properties.load(it) }
5+ val flutterSdkPath = properties.getProperty(" flutter.sdk" )
6+ require(flutterSdkPath != null ) { " flutter.sdk not set in local.properties" }
7+ flutterSdkPath
8+ }
9+
10+ includeBuild(" $flutterSdkPath /packages/flutter_tools/gradle" )
11+
12+ repositories {
13+ google()
14+ mavenCentral()
15+ gradlePluginPortal()
16+ }
17+ }
18+
19+ plugins {
20+ id(" dev.flutter.flutter-plugin-loader" ) version " 1.0.0"
21+ id(" com.android.application" ) version " 8.7.3" apply false
22+ id(" org.jetbrains.kotlin.android" ) version " 2.1.0" apply false
23+ }
24+
25+ include(" :app" )
You can’t perform that action at this time.
0 commit comments