diff --git a/app/build.gradle b/app/build.gradle index 91f3ab6..07a2160 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,20 +23,26 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + kotlinOptions { jvmTarget = '1.8' } + + buildFeatures { + viewBinding = true + } } dependencies { implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.6.0' - implementation 'com.google.android.material:material:1.7.0' + implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' diff --git a/app/src/androidTest/java/fr/uca/iut/urbandictionarylight/ExampleInstrumentedTest.kt b/app/src/androidTest/java/fr/uca/iut/urbandictionarylight/ExampleInstrumentedTest.kt deleted file mode 100644 index 1748895..0000000 --- a/app/src/androidTest/java/fr/uca/iut/urbandictionarylight/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,24 +0,0 @@ -package fr.uca.iut.urbandictionarylight - -import androidx.test.platform.app.InstrumentationRegistry -import androidx.test.ext.junit.runners.AndroidJUnit4 - -import org.junit.Test -import org.junit.runner.RunWith - -import org.junit.Assert.* - -/** - * Instrumented test, which will execute on an Android device. - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -@RunWith(AndroidJUnit4::class) -class ExampleInstrumentedTest { - @Test - fun useAppContext() { - // Context of the app under test. - val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("fr.uca.iut.urbandictionarylight", appContext.packageName) - } -} \ No newline at end of file diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index f13e449..beea633 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -1,4 +1,4 @@ - +