File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,26 @@ val sourcesJar by tasks.registering(Jar::class) {
8080 }
8181}
8282
83- val dokkaHtml by tasks.getting( DokkaTask :: class ) {
83+ tasks.dokkaHtml {
8484 outputDirectory.set(layout.buildDirectory.dir(" dokka" ))
85+ moduleName.set(getProperty(" COMPOSE_CHARTS_NAME" ))
86+ dokkaSourceSets {
87+ configureEach {
88+ suppress = false
89+ offlineMode = false
90+ includeNonPublic = false
91+ skipDeprecated = true
92+ skipEmptyPackages = true
93+ noStdlibLink = true
94+ noJdkLink = true
95+ noAndroidSdkLink = false
96+ jdkVersion = JavaVersion .VERSION_1_8 .ordinal + 1
97+ }
98+ }
8599}
86100
101+ val dokkaHtml by tasks.getting(DokkaTask ::class )
102+
87103val javadocJar by tasks.registering(Jar ::class ) {
88104 dependsOn(dokkaHtml)
89105 archiveClassifier.set(" javadoc" )
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ CONTRIBUTOR_TIMEZONE=China/Beijing
5353CI_SYSTEM =GitHub
5454CI_URL =https://github.com/bytebeats/compose-charts/actions/
5555# Library related configuration
56- COMPOSE_CHARTS_NAME =Compose Charts
56+ COMPOSE_CHARTS_NAME =Compose- Charts
5757COMPOSE_CHARTS_ARTIFACT_ID =compose-charts
5858COMPOSE_CHARTS_VERSION =0.1.2
5959COMPOSE_CHARTS_PACKAGING =aar
You can’t perform that action at this time.
0 commit comments