From efe0e9853ec87d037d6b5f990b182f3345882ec8 Mon Sep 17 00:00:00 2001 From: pzfa7cwgn <2378680700@qq.com> Date: Thu, 15 May 2025 08:58:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 4 ++++ gradle.properties | 22 ++++++++++++++++++++++ local.properties | 10 ++++++++++ settings.gradle.kts | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 build.gradle.kts create mode 100644 gradle.properties create mode 100644 local.properties create mode 100644 settings.gradle.kts diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..5107a98 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,4 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +plugins { + id("com.android.application") version "8.8.0-alpha05" apply false +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..00d252e --- /dev/null +++ b/gradle.properties @@ -0,0 +1,22 @@ +# Project-wide Gradle settings. +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. For more details, visit +# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects +# org.gradle.parallel=true +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true +# Enables namespacing of each library's R class so that its R class includes only the +# resources declared in the library itself and none from the library's dependencies, +# thereby reducing the size of the R class for that library +android.nonTransitiveRClass=true +android.nonFinalResIds=false \ No newline at end of file diff --git a/local.properties b/local.properties new file mode 100644 index 0000000..4bfdb78 --- /dev/null +++ b/local.properties @@ -0,0 +1,10 @@ +## This file is automatically generated by IntelliJ IDEA. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file should *NOT* be checked into Version Control Systems, +# as it contains information specific to your local configuration. +# +# Location of the SDK. This is only used by Gradle. +# For customization when using a Version Control System, please read the +# header note. +sdk.dir=F\:\\Android \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..175ab0d --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,32 @@ +pluginManagement { + repositories { + maven { url=uri( "https://maven.aliyun.com/repository/central") } + maven { url=uri( "https://maven.aliyun.com/repository/public") } + maven { url=uri( "https://maven.aliyun.com/repository/google") } + maven { url=uri( "https://maven.aliyun.com/repository/gradle-plugin") } + google { + content { + includeGroupByRegex("com\\.android.*") + includeGroupByRegex("com\\.google.*") + includeGroupByRegex("androidx.*") + } + } + mavenCentral() + gradlePluginPortal() + } +} +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + maven { url=uri( "https://maven.aliyun.com/repository/central") } + maven { url=uri( "https://maven.aliyun.com/repository/public") } + maven { url=uri( "https://maven.aliyun.com/repository/google") } + maven { url=uri( "https://maven.aliyun.com/repository/gradle-plugin") } + google() + mavenCentral() + } +} + +rootProject.name = "miNote" +include(":app") + \ No newline at end of file