summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-13 18:09:42 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-13 18:09:42 +0100
commit18ca4ead52f3ec558541b01c025f2b366a6c3f5c (patch)
tree5034ac5c27947a2dedfab60caa059b2fd46d2e84
parentd80cc5297c1f155e05ba56cfa301ff95a12eb9fd (diff)
remove junk
-rw-r--r--app/build.gradle.kts28
-rw-r--r--app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java26
-rw-r--r--app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java3
-rw-r--r--app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java17
-rw-r--r--build.gradle.kts1
5 files changed, 0 insertions, 75 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 2a6c7de..0418f50 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -1,6 +1,5 @@
plugins {
id("com.android.application")
- id("org.jetbrains.kotlin.android")
}
android {
@@ -14,7 +13,6 @@ android {
versionCode = 1
versionName = "1.0"
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
@@ -34,12 +32,6 @@ android {
viewBinding = true
compose = true
}
- kotlinOptions {
- jvmTarget = "1.8"
- }
- composeOptions {
- kotlinCompilerExtensionVersion = "1.5.1"
- }
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
@@ -48,28 +40,8 @@ android {
}
dependencies {
-
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.11.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
- implementation("androidx.drawerlayout:drawerlayout:1.2.0")
- implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.7.0")
- implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
- implementation("androidx.navigation:navigation-fragment:2.7.7")
- implementation("androidx.navigation:navigation-ui:2.7.7")
- implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
- implementation("androidx.activity:activity-compose:1.8.2")
- implementation(platform("androidx.compose:compose-bom:2023.08.00"))
- implementation("androidx.compose.ui:ui")
- implementation("androidx.compose.ui:ui-graphics")
- implementation("androidx.compose.ui:ui-tooling-preview")
- implementation("androidx.compose.material3:material3")
implementation("com.android.volley:volley:1.2.1")
- testImplementation("junit:junit:4.13.2")
- androidTestImplementation("androidx.test.ext:junit:1.1.5")
- androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
- androidTestImplementation(platform("androidx.compose:compose-bom:2023.08.00"))
- androidTestImplementation("androidx.compose.ui:ui-test-junit4")
- debugImplementation("androidx.compose.ui:ui-tooling")
- debugImplementation("androidx.compose.ui:ui-test-manifest")
} \ No newline at end of file
diff --git a/app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java
deleted file mode 100644
index 5368de5..0000000
--- a/app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.lonkaars.bingo3;
-
-import android.content.Context;
-
-import androidx.test.platform.app.InstrumentationRegistry;
-import androidx.test.ext.junit.runners.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
- assertEquals("com.lonkaars.bingo3", appContext.getPackageName());
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java b/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java
index 3a5aa6e..bc6d4a3 100644
--- a/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java
+++ b/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java
@@ -1,7 +1,6 @@
package com.lonkaars.bingo3;
import android.os.Bundle;
-import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
@@ -11,8 +10,6 @@ import androidx.appcompat.app.AppCompatActivity;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
-import com.android.volley.Response;
-import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;
import com.google.android.material.appbar.MaterialToolbar;
diff --git a/app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java b/app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java
deleted file mode 100644
index 19d3b6d..0000000
--- a/app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.lonkaars.bingo3;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
- */
-public class ExampleUnitTest {
- @Test
- public void addition_isCorrect() {
- assertEquals(4, 2 + 2);
- }
-} \ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index 4645626..196e647 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,5 +1,4 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.2.2" apply false
- id("org.jetbrains.kotlin.android") version "1.9.0" apply false
} \ No newline at end of file