Jason Inbody
02/21/2021, 9:43 PMimport androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalLifecycleOwner
Not getting much from google were these renamed possibly? Or do i need to add a dep somewhereKirill Grouchnikov
02/21/2021, 9:45 PMJason Inbody
02/21/2021, 9:47 PMAndroid Studio Arctic Fox | 2020.3.1 Canary 7
Build #AI-203.7148.57.2031.7136282, built on February 9, 2021
Runtime version: 11.0.8+10-b944.6842174 x86_64
VM: OpenJDK 64-Bit Server VM by N/A
macOS 10.16
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true
Kirill Grouchnikov
02/21/2021, 9:48 PMJason Inbody
02/21/2021, 9:48 PMplugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "fin_aquatic_rentals.fin_aquatic_rentals"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), '<http://proguard-rules.pro|proguard-rules.pro>'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
useIR = true
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
kotlinCompilerVersion '1.4.21'
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.ui:ui-tooling:$compose_version"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0-alpha06'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
Kirill Grouchnikov
02/21/2021, 9:51 PM$compose_version
- what is that version?Jason Inbody
02/21/2021, 9:51 PMA newer version of androidx.compose.material:material than 1.0.0-alpha08 is available: 1.0.0-alpha12
Kirill Grouchnikov
02/21/2021, 9:53 PMJason Inbody
02/21/2021, 9:57 PMKirill Grouchnikov
02/21/2021, 9:58 PMbuildSrc
route for a simple app where you explore thingsJason Inbody
02/21/2021, 9:59 PMKirill Grouchnikov
02/21/2021, 10:01 PM