File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ libraryProjects {
1313 val repositoryDir = gradle.gradleUserHomeDir
1414 .resolve(" highcapable-maven-repository" )
1515 .resolve(" repository" )
16+
1617 maven {
1718 name = " HighCapableMavenReleases"
1819 url = repositoryDir.resolve(" releases" ).toURI()
@@ -24,19 +25,23 @@ libraryProjects {
2425 }
2526 }
2627 }
28+
2729 tasks.withType<DokkaTask >().configureEach {
2830 val configuration = """ { "footerMessage": "KavaRef | Apache-2.0 License | Copyright (C) 2019 HighCapable" }"""
2931 pluginsMapConfiguration.set(mapOf (" org.jetbrains.dokka.base.DokkaBase" to configuration))
3032 }
33+
3134 tasks.register(" publishKDoc" ) {
3235 group = " documentation"
3336 dependsOn(" dokkaHtml" )
37+
3438 doLast {
3539 val docsDir = rootProject.projectDir
3640 .resolve(" docs-source" )
3741 .resolve(" dist" )
3842 .resolve(" KDoc" )
3943 .resolve(project.name)
44+
4045 if (docsDir.exists()) docsDir.deleteRecursively() else docsDir.mkdirs()
4146 layout.buildDirectory.dir(" dokka/html" ).get().asFile.copyRecursively(docsDir)
4247 }
Original file line number Diff line number Diff line change @@ -25,4 +25,7 @@ kotlin {
2525dependencies {
2626 implementation(projects.kavarefCore)
2727 implementation(projects.kavarefExtension)
28+
29+ // SLF4J Simple Logger
30+ implementation(org.slf4j.slf4j.simple)
2831}
Original file line number Diff line number Diff line change 11enableFeaturePreview(" TYPESAFE_PROJECT_ACCESSORS" )
2+
23pluginManagement {
34 repositories {
45 gradlePluginPortal()
56 google()
67 mavenCentral()
78 }
89}
10+
911plugins {
1012 id(" com.highcapable.sweetdependency" ) version " 1.0.4"
1113 id(" com.highcapable.sweetproperty" ) version " 1.0.8"
1214}
15+
1316sweetDependency {
1417 isEnableVerboseMode = false
1518}
19+
1620sweetProperty {
1721 global {
1822 sourcesCode {
@@ -23,8 +27,15 @@ sweetProperty {
2327 isEnableRestrictedAccess = true
2428 }
2529 }
26- rootProject { all { isEnable = false } }
30+
31+ rootProject {
32+ all {
33+ isEnable = false
34+ }
35+ }
2736}
37+
2838rootProject.name = " KavaRef"
39+
2940include(" :kavaref-core" , " :kavaref-extension" , " kavaref-android-stub" )
3041include(" :samples:kavaref-demo" )
You can’t perform that action at this time.
0 commit comments