Skip to content

Commit a963aea

Browse files
committed
Update build.gradle
1 parent 5adaed7 commit a963aea

9 files changed

+271
-161
lines changed

app/build.gradle

+9-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ android {
1717
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1818
}
1919
}
20+
namespace 'com.vine.projectdemo'
2021
}
2122

2223
dependencies {
@@ -30,13 +31,19 @@ dependencies {
3031
implementation 'com.google.android.material:material:1.10.0'
3132

3233
implementation 'androidx.work:work-runtime:2.8.1'
33-
34-
implementation 'com.qozix:tileview:2.2.7'
34+
35+
implementation 'com.github.moagrius:TileView:2.2.7'
3536
implementation 'net.objecthunter:exp4j:0.4.8'
3637

3738
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
3839
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
3940
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.0'
4041

4142
testImplementation 'junit:junit:4.13.2'
43+
}
44+
45+
java {
46+
toolchain {
47+
languageVersion = JavaLanguageVersion.of(17)
48+
}
4249
}

app/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.vine.projectdemo">
3+
xmlns:tools="http://schemas.android.com/tools">
54

65
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
76
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
buildscript {
44
repositories {
55
google()
6-
jcenter()
6+
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.2.0'
9+
classpath 'com.android.tools.build:gradle:8.7.3'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
@@ -16,7 +16,8 @@ buildscript {
1616
allprojects {
1717
repositories {
1818
google()
19-
jcenter()
19+
mavenCentral()
20+
maven { url "https://jitpack.io" }
2021
}
2122
}
2223

gradle.properties

+3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
# Specifies the JVM arguments used for the daemon process.
1111
# The setting is particularly useful for tweaking memory settings.
12+
android.defaults.buildfeatures.buildconfig=true
1213
android.enableJetifier=true
14+
android.nonFinalResIds=false
15+
android.nonTransitiveRClass=false
1316
android.useAndroidX=true
1417
org.gradle.jvmargs=-Xmx1536m
1518

gradle/wrapper/gradle-wrapper.jar

-9.89 KB
Binary file not shown.
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Thu Dec 23 09:26:19 CST 2021
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)