1
1
plugins {
2
- id(" com .android.library" )
3
- id(" org.jetbrains.kotlin.android " )
2
+ id(" ycharts .android.library" )
3
+ id(" ycharts.android.library.compose " )
4
4
id(" maven-publish" )
5
5
id(" signing" )
6
- id( " org.jetbrains .dokka" )
6
+ alias(versionCatalogLibs.plugins .dokka)
7
7
}
8
8
9
9
android {
10
10
compileSdk = 33
11
-
11
+ namespace = " co.yml.charts.components "
12
12
defaultConfig {
13
- minSdk = 26
14
- targetSdk = 33
15
-
16
13
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
17
14
}
18
-
19
15
buildTypes {
20
16
release {
21
17
isMinifyEnabled = false
@@ -25,44 +21,44 @@ android {
25
21
)
26
22
}
27
23
}
28
- compileOptions {
29
- sourceCompatibility = JavaVersion .VERSION_1_8
30
- targetCompatibility = JavaVersion .VERSION_1_8
31
- }
32
- kotlinOptions {
33
- jvmTarget = " 1.8"
34
- freeCompilerArgs = freeCompilerArgs + " -Xjvm-default=all"
35
- }
36
- buildFeatures {
37
- compose = true
38
- }
39
- composeOptions {
40
- kotlinCompilerExtensionVersion = co.ycharts.dependency.Version .KOTLIN_COMPILER_EXT
41
- }
42
- packagingOptions {
43
- resources {
44
- exclude(" /META-INF/{AL2.0,LGPL2.1}" )
45
- }
46
- }
24
+ // compileOptions {
25
+ // sourceCompatibility = JavaVersion.VERSION_1_8
26
+ // targetCompatibility = JavaVersion.VERSION_1_8
27
+ // }
28
+ // kotlinOptions {
29
+ // jvmTarget = "1.8"
30
+ // freeCompilerArgs = freeCompilerArgs + "-Xjvm-default=all"
31
+ // }
32
+ // buildFeatures {
33
+ // compose = true
34
+ // }
35
+ // composeOptions {
36
+ // kotlinCompilerExtensionVersion = co.ycharts.dependency.Version.KOTLIN_COMPILER_EXT
37
+ // }
38
+ // packagingOptions {
39
+ // resources {
40
+ // exclude("/META-INF/{AL2.0,LGPL2.1}")
41
+ // }
42
+ // }
47
43
}
48
44
49
- dependencies {
50
-
51
- implementation(co.ycharts.dependency.YChartDependency .CORE_KTX )
52
- implementation(co.ycharts.dependency.YChartDependency .APPCOMPAT )
53
- implementation(co.ycharts.dependency.YChartDependency .MATERIAL )
54
- implementation(co.ycharts.dependency.YChartDependency .MATERIAL_3 )
55
- implementation(co.ycharts.dependency.YChartDependency .COMPOSE_UI )
56
- implementation(co.ycharts.dependency.YChartDependency .COMPOSE_ACTIVITY )
57
- implementation(co.ycharts.dependency.YChartDependency .COMPOSE_MATERIAL )
58
- implementation(co.ycharts.dependency.YChartDependency .COMPOSE_TOOLING_PREVIEW )
59
- testImplementation(co.ycharts.dependency.YChartDependency .JUNIT )
60
- testImplementation(co.ycharts.dependency.YChartDependency .MOCKK )
61
- androidTestImplementation(co.ycharts.dependency.YChartDependency .COMPOSE_JUNIT )
62
- debugImplementation(co.ycharts.dependency.YChartDependency .COMPOSE_UI_TEST_MANIFEST )
63
- androidTestImplementation(co.ycharts.dependency.YChartDependency .TEST_EXTN )
64
- androidTestImplementation(co.ycharts.dependency.YChartDependency .ESPRESSO_CORE )
65
- }
45
+ // dependencies {
46
+ //
47
+ // implementation(co.ycharts.dependency.YChartDependency.CORE_KTX)
48
+ // implementation(co.ycharts.dependency.YChartDependency.APPCOMPAT)
49
+ // implementation(co.ycharts.dependency.YChartDependency.MATERIAL)
50
+ // implementation(co.ycharts.dependency.YChartDependency.MATERIAL_3)
51
+ // implementation(co.ycharts.dependency.YChartDependency.COMPOSE_UI)
52
+ // implementation(co.ycharts.dependency.YChartDependency.COMPOSE_ACTIVITY)
53
+ // implementation(co.ycharts.dependency.YChartDependency.COMPOSE_MATERIAL)
54
+ // implementation(co.ycharts.dependency.YChartDependency.COMPOSE_TOOLING_PREVIEW)
55
+ // testImplementation(co.ycharts.dependency.YChartDependency.JUNIT)
56
+ // testImplementation(co.ycharts.dependency.YChartDependency.MOCKK)
57
+ // androidTestImplementation(co.ycharts.dependency.YChartDependency.COMPOSE_JUNIT)
58
+ // debugImplementation(co.ycharts.dependency.YChartDependency.COMPOSE_UI_TEST_MANIFEST)
59
+ // androidTestImplementation(co.ycharts.dependency.YChartDependency.TEST_EXTN)
60
+ // androidTestImplementation(co.ycharts.dependency.YChartDependency.ESPRESSO_CORE)
61
+ // }
66
62
val dokkaOutputDir = " $buildDir /dokka"
67
63
68
64
tasks.dokkaHtml {
0 commit comments