Skip to content

Commit

Permalink
升级 gradle 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
uebian committed Apr 21, 2024
1 parent 0207194 commit dd8c8c5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'com.android.application'

android {
namespace 'net.newlydev.fileshare_android'
compileSdkVersion 31
defaultConfig {
applicationId "net.newlydev.fileshare_android"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public int compare(FastDocumentFile p1, FastDocumentFile p2) {
@Override
public void run() {
try {
AlertDialog.Builder ab = new AlertDialog.Builder(new ContextThemeWrapper(ctx, R.style.Theme_AppCompat_Light));
AlertDialog.Builder ab = new AlertDialog.Builder(ctx);
ab.setCancelable(false);
ab.setTitle("FileShare");
ab.setMessage("下列用户请求您的权限来访问您的文件\nip地址:" + client.getInetAddress().toString());
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.android.tools.build:gradle:8.0.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
mavenCentral()
Expand Down
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Jan 05 17:07:29 CST 2021
#Sun Apr 21 06:26:51 GMT 2024
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME

0 comments on commit dd8c8c5

Please sign in to comment.