Browse Source

Move some sameples to dev109

pull/34/head
Nikolay Igotti 4 years ago
parent
commit
b9b0064d7b
  1. 2
      examples/imageviewer/build.gradle.kts
  2. 2
      examples/issues/build.gradle.kts
  3. 4
      examples/issues/common/src/commonMain/kotlin/androidx/ui/examples/jetissues/view/JetIssuesView.kt
  4. 2
      examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt

2
examples/imageviewer/build.gradle.kts

@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-dev97")
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-dev109")
classpath("com.android.tools.build:gradle:4.0.1")
classpath(kotlin("gradle-plugin", version = "1.4.0"))
}

2
examples/issues/build.gradle.kts

@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-dev97")
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-dev109")
classpath("com.android.tools.build:gradle:4.0.1")
classpath(kotlin("gradle-plugin", version = "1.4.0"))
}

4
examples/issues/common/src/commonMain/kotlin/androidx/ui/examples/jetissues/view/JetIssuesView.kt

@ -8,9 +8,9 @@ import androidx.compose.material.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.WithConstraints
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.luminance
import androidx.compose.ui.layout.WithConstraints
import androidx.compose.ui.platform.DensityAmbient
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.text.SpanStyle
@ -400,4 +400,4 @@ fun parseColor(hexString: String): Color {
val green = parseInt(hexString.subSequence(2, 4).toString(), 16)
val blue = parseInt(hexString.subSequence(4, 6).toString(), 16)
return Color(red, green, blue)
}
}

2
examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt

@ -10,7 +10,7 @@ object Deps {
}
object Compose {
private const val VERSION = "0.1.0-dev97"
private const val VERSION = "0.1.0-dev109"
const val gradlePlugin = "org.jetbrains.compose:compose-gradle-plugin:$VERSION"
}
}

Loading…
Cancel
Save