Skip to content

Commit

Permalink
build in new android studio
Browse files Browse the repository at this point in the history
  • Loading branch information
senpl committed Oct 3, 2021
1 parent 6bd9cdf commit 75fb5f3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
14 changes: 7 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 30
compileSdkVersion 31
defaultConfig {
applicationId "com.fitworkoutfast"
minSdkVersion 21
targetSdkVersion 30
versionCode 58
versionName "0.24.05"
targetSdkVersion 31
versionCode 61
versionName "0.24.07"
vectorDrawables.useSupportLibrary = true
}

Expand Down Expand Up @@ -65,7 +65,7 @@ android {
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_14.toString()
}

lintOptions {
Expand All @@ -79,8 +79,8 @@ dependencies {

// Support
implementation 'androidx.annotation:annotation:1.2.0'
implementation "androidx.constraintlayout:constraintlayout:2.1.0"
implementation 'androidx.appcompat:appcompat:1.4.0-alpha03'
implementation "androidx.constraintlayout:constraintlayout:2.1.1"
implementation 'androidx.appcompat:appcompat:1.4.0-beta01'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'androidx.drawerlayout:drawerlayout:1.1.1'
Expand Down
Binary file added app/release/app-release.aab
Binary file not shown.
13 changes: 8 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
android:name="com.fitworkoutfast.MainActivity"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
android:windowSoftInputMode="stateUnchanged">
android:windowSoftInputMode="stateUnchanged"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand All @@ -30,10 +31,12 @@
</activity>
<activity
android:name=".intro.MainIntroActivity"
android:theme="@style/Theme.Intro" />
<activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:theme="@style/Theme.MaterialComponents" />
android:theme="@style/Theme.Intro"
android:exported="false"/>
<!-- <activity-->
<!-- android:name="com.theartofdev.edmodo.cropper.CropImageActivity"-->
<!-- android:theme="@style/Theme.MaterialComponents"-->
<!-- android:exported="false"/>-->

<!-- <meta-data-->
<!-- android:name="firebase_crash_collection_enabled"-->
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.4.10'
ext.kotlin_version = '1.5.20'
repositories {
google()
jcenter()
Expand All @@ -12,7 +12,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.android.tools.build:gradle:7.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//classpath 'com.google.gms:google-services:4.2.0'

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip

0 comments on commit 75fb5f3

Please sign in to comment.