Skip to content

Commit

Permalink
⬆️ Migrated to Jetpack Compose 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hitanshu-dhawan committed Aug 7, 2021
1 parent 31bd469 commit 6a754f7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
versionName "1.0.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -26,13 +26,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
allWarningsAsErrors = true
jvmTarget = JavaVersion.VERSION_11
}

buildFeatures {
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -17,7 +17,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package com.hitanshudhawan.mccompose.buildsrc

object Libs {

const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-beta04"
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0"

const val material = "com.google.android.material:material:1.2.0"

object Accompanist {
private const val version = "0.13.0"
private const val version = "0.15.0"
const val coil = "com.google.accompanist:accompanist-coil:$version"
}

Expand All @@ -21,22 +21,22 @@ object Libs {
object AndroidX {

object Activity {
private const val version = "1.3.0-rc01"
private const val version = "1.3.0"
const val activityCompose = "androidx.activity:activity-compose:$version"
}

object ConstraintLayout {
private const val version = "1.0.0-alpha08"
private const val version = "1.0.0-beta01"
const val constraintLayoutCompose = "androidx.constraintlayout:constraintlayout-compose:$version"
}

object Navigation {
private const val version = "2.4.0-alpha04"
private const val version = "2.4.0-alpha05"
const val navigationCompose = "androidx.navigation:navigation-compose:$version"
}

object Compose {
const val version = "1.0.0-rc01"
const val version = "1.0.0"

const val foundation = "androidx.compose.foundation:foundation:$version"
const val layout = "androidx.compose.foundation:foundation-layout:$version"
Expand Down

0 comments on commit 6a754f7

Please sign in to comment.