build: Dependency and Gradle update

This commit is contained in:
antonio 2023-04-30 19:40:11 +02:00
parent c1b632ccb1
commit 70d58a9232
7 changed files with 20 additions and 13 deletions

2
.idea/compiler.xml generated
View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
<bytecodeTargetLevel target="17" />
</component>
</project>

3
.idea/misc.xml generated
View file

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DesignSurface">
<option name="filePathToZoomLevelMap">
@ -192,7 +191,7 @@
</map>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View file

@ -39,9 +39,15 @@ android {
targetCompatibility 1.8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
viewBinding true
}
namespace 'com.cappielloantonio.play'
}
dependencies {
@ -75,11 +81,11 @@ dependencies {
implementation 'com.github.bumptech.glide:annotations:4.15.1'
// Media3
implementation 'androidx.media3:media3-session:1.0.0'
implementation 'androidx.media3:media3-common:1.0.0'
implementation 'androidx.media3:media3-exoplayer:1.0.0'
implementation 'androidx.media3:media3-ui:1.0.0'
implementation 'androidx.media3:media3-cast:1.0.0'
implementation 'androidx.media3:media3-session:1.0.1'
implementation 'androidx.media3:media3-common:1.0.1'
implementation 'androidx.media3:media3-exoplayer:1.0.1'
implementation 'androidx.media3:media3-ui:1.0.1'
implementation 'androidx.media3:media3-cast:1.0.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
annotationProcessor 'androidx.room:room-compiler:2.5.1'

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cappielloantonio.play">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

View file

@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0'
}
}

View file

@ -17,3 +17,6 @@ org.gradle.jvmargs=-Xmx2048m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip