Skip to content

Commit

Permalink
Update SDK and build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
0xf4b1 committed Dec 10, 2023
1 parent 23bd0c2 commit 973a753
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 35 deletions.
25 changes: 16 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ plugins {
}

android {
compileSdkVersion 30
testOptions.unitTests.includeAndroidResources = true
namespace 'com.tiefensuche.motionmate'
compileSdk 34
defaultConfig {
applicationId "com.tiefensuche.motionmate"
minSdkVersion 14
targetSdkVersion 30
targetSdkVersion 34
versionCode 9
versionName "1.3.3"
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Expand All @@ -39,16 +39,23 @@ android {
signingConfig signingConfigs.release
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
}

dependencies {
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.google.android.material:material:1.10.0'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'androidx.preference:preference-ktx:1.2.1'

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.9'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {
mavenCentral()
}
}
29 changes: 4 additions & 25 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,8 @@

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.7.20'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}

task clean(type: Delete) {
delete rootProject.buildDir
plugins {
id 'com.android.application' version '8.2.0' apply false
id 'com.android.library' version '8.2.0' apply false
id 'org.jetbrains.kotlin.android' version '1.7.21' apply false
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
17 changes: 17 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,21 @@
* SPDX-License-Identifier: GPL-3.0-only
*/

pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}

include ':app'

0 comments on commit 973a753

Please sign in to comment.