Updated build

This commit is contained in:
Daniele Verducci (Slimpenguin) 2023-02-15 09:12:52 +01:00
parent 1ad6500882
commit 1647895a2a
7 changed files with 28 additions and 31 deletions

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<targetSelectedWithDropDown>
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_5_API_30.avd" />
<type value="SERIAL_NUMBER" />
<value value="192.168.1.45:42069" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-05-02T17:02:45.674283Z" />
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2023-02-15T07:59:24.141496Z" />
</component>
</project>

View File

@ -3,14 +3,13 @@ plugins {
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
compileSdkVersion 33
defaultConfig {
applicationId "it.danieleverducci.ojo"
applicationId "it.danieleverducci.ojo.googleplay"
minSdkVersion 21
targetSdkVersion 30
versionCode 4
targetSdkVersion 33
versionCode 5
versionName "0.1.0"
vectorDrawables.useSupportLibrary = true
@ -31,19 +30,19 @@ android {
buildFeatures {
viewBinding true
}
namespace 'it.danieleverducci.ojo'
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.navigation:navigation-fragment:2.3.5'
implementation 'androidx.navigation:navigation-ui:2.3.5'
//implementation 'org.videolan.android:libvlc-all:3.4.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.5.3'
implementation 'de.mrmaffen:libvlc-android:2.1.12@aar'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

5
app/release/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.json
*.aab
*.apk

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="it.danieleverducci.ojo">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
@ -14,6 +13,7 @@
<activity
android:name=".ui.MainActivity"
android:label="@string/app_name"
android:exported="true"
android:theme="@style/Theme.Ojo"
android:configChanges="orientation|screenSize">
<intent-filter>

View File

@ -6,9 +6,7 @@ import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import androidx.fragment.app.Fragment;
import androidx.navigation.NavController;
import androidx.navigation.Navigation;
@ -43,12 +41,7 @@ public class MainActivity extends AppCompatActivity {
binding.fab.hide();
});
binding.fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
navigateToFragment(R.id.action_homeToSettings);
}
});
binding.fab.setOnClickListener(view -> navigateToFragment(R.id.action_homeToSettings));
}
public void setOnBackButtonPressedListener(OnBackButtonPressedListener onBackButtonPressedListener) {

View File

@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
classpath 'com.android.tools.build:gradle:7.4.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View File

@ -1,6 +1,6 @@
#Fri Aug 13 07:42:34 CEST 2021
#Wed Feb 15 08:51:54 CET 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME