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

View File

@ -3,14 +3,13 @@ plugins {
} }
android { android {
compileSdkVersion 30 compileSdkVersion 33
buildToolsVersion "30.0.2"
defaultConfig { defaultConfig {
applicationId "it.danieleverducci.ojo" applicationId "it.danieleverducci.ojo.googleplay"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 33
versionCode 4 versionCode 5
versionName "0.1.0" versionName "0.1.0"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
@ -31,19 +30,19 @@ android {
buildFeatures { buildFeatures {
viewBinding true viewBinding true
} }
namespace 'it.danieleverducci.ojo'
} }
dependencies { dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.4.0' implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.navigation:navigation-fragment:2.3.5' implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.3.5' implementation 'androidx.navigation:navigation-ui:2.5.3'
//implementation 'org.videolan.android:libvlc-all:3.4.1'
implementation 'de.mrmaffen:libvlc-android:2.1.12@aar' implementation 'de.mrmaffen:libvlc-android:2.1.12@aar'
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.2.1'
testImplementation 'junit:junit:4.+' testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 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"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="it.danieleverducci.ojo">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
@ -14,6 +13,7 @@
<activity <activity
android:name=".ui.MainActivity" android:name=".ui.MainActivity"
android:label="@string/app_name" android:label="@string/app_name"
android:exported="true"
android:theme="@style/Theme.Ojo" android:theme="@style/Theme.Ojo"
android:configChanges="orientation|screenSize"> android:configChanges="orientation|screenSize">
<intent-filter> <intent-filter>

View File

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

View File

@ -5,7 +5,7 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { 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 // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // 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 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 distributionPath=wrapper/dists
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME