-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdependencies.gradle
More file actions
59 lines (45 loc) · 2.73 KB
/
dependencies.gradle
File metadata and controls
59 lines (45 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* @author Carlos Piñan
*
* Apply it in your root build.gradle
*
* Example: buildscript {* apply from: './dependencies.gradle'
*
* For this version it's mandatory to use:
*
* composeOptions {kotlinCompilerVersion "$jetpack_compose_kotlin_compiler_version"
* kotlinCompilerExtensionVersion "$jetpack_compose_version"}*
* https://developer.android.com/jetpack/androidx/releases/ui#0.1.0-dev14
*/
ext.jetpack_compose_version = "0.1.0-dev14"
ext.jetpack_compose_namespace = "androidx.ui"
ext.jetpack_compose_runtime_namespace = "androidx.compose"
ext.jetpack_compose_kotlin_compiler_version = "1.3.70-dev-withExperimentalGoogleExtensions-20200424"
ext.compose_library = [
runtime : "${jetpack_compose_runtime_namespace}:compose-runtime:${jetpack_compose_version}",
compiler : "${jetpack_compose_runtime_namespace}:compose-compiler:${jetpack_compose_version}",
// Module that collects all demos across ui and packages them into one demo APK
ui_framework : "${jetpack_compose_namespace}:ui-framework:${jetpack_compose_version}",
// Base components exposed by the system as building blocks. This includes Draw, Layout, Text, etc.
ui_layout : "${jetpack_compose_namespace}:ui-layout:${jetpack_compose_version}",
// Basic layout components
ui_material : "${jetpack_compose_namespace}:ui-material:${jetpack_compose_version}",
// Preview component
ui_tooling : "${jetpack_compose_namespace}:ui-tooling:${jetpack_compose_version}",
// Wrappers and adapters for existing Android Views
ui_animation : "${jetpack_compose_namespace}:ui-animation:${jetpack_compose_version}",
// Animation components
ui_animation_core: "${jetpack_compose_namespace}:ui-animation-core:${jetpack_compose_version}",
// Internal declarations for the animations system
ui_core : "${jetpack_compose_namespace}:ui-core:${jetpack_compose_version}",
// Set of UI components built according to the Material spec
ui_platform : "${jetpack_compose_namespace}:ui-platform:${jetpack_compose_version}",
// Testing framework
ui_text : "${jetpack_compose_namespace}:ui-text:${jetpack_compose_version}",
// Base Text composable
ui_text_core : "${jetpack_compose_namespace}:ui-text-core:${jetpack_compose_version}",
// Text engine that contains base text components
ui_text_android : "${jetpack_compose_namespace}:ui-text-android:${jetpack_compose_version}",
// Internal implementation that allows separation of android implementation from host-side tests
ui_test : "${jetpack_compose_namespace}:ui-test:${jetpack_compose_version}"
]