Skip to content

Commit c665402

Browse files
committed
Fixed maven publish
1 parent d347ab6 commit c665402

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

build.gradle

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -16,41 +16,41 @@ buildscript {
1616

1717
apply plugin: 'org.jetbrains.dokka'
1818

19-
afterEvaluate {
20-
if (tasks.findByName('dokkaGfmPartial') == null) {
21-
// If dokka isn't enabled on this module, skip
22-
return
23-
}
24-
tasks.named('dokkaGfmPartial') {
25-
dokkaSourceSets.configureEach {
26-
reportUndocumented.set(true)
27-
skipEmptyPackages.set(true)
28-
skipDeprecated.set(true)
29-
jdkVersion.set(8)
30-
31-
// Add Android SDK packages
32-
noAndroidSdkLink.set(false)
33-
34-
// AndroidX + Compose docs
35-
externalDocumentationLink {
36-
url.set(new URL("https://developer.android.com/reference/"))
37-
packageListUrl.set(new URL("https://developer.android.com/reference/androidx/package-list"))
38-
}
39-
externalDocumentationLink {
40-
url.set(new URL("https://developer.android.com/reference/kotlin/"))
41-
packageListUrl.set(new URL("https://developer.android.com/reference/kotlin/androidx/package-list"))
42-
}
43-
44-
sourceLink {
45-
localDirectory.set(project.file("src/main/kotlin"))
46-
// URL showing where the source code can be accessed through the web browser
47-
remoteUrl.set(new URL("https://github.com/sceneview/sceneview-android/blob/main/${project.name}/src/main/kotlin"))
48-
// Suffix which is used to append the line number to the URL. Use #L for GitHub
49-
remoteLineSuffix.set("#L")
50-
}
51-
}
52-
}
53-
}
19+
//afterEvaluate {
20+
// if (tasks.findByName('dokkaGfmPartial') == null) {
21+
// // If dokka isn't enabled on this module, skip
22+
// return
23+
// }
24+
// tasks.named('dokkaGfmPartial') {
25+
// dokkaSourceSets.configureEach {
26+
// reportUndocumented.set(true)
27+
// skipEmptyPackages.set(true)
28+
// skipDeprecated.set(true)
29+
// jdkVersion.set(8)
30+
//
31+
// // Add Android SDK packages
32+
// noAndroidSdkLink.set(false)
33+
//
34+
// // AndroidX + Compose docs
35+
// externalDocumentationLink {
36+
// url.set(new URL("https://developer.android.com/reference/"))
37+
// packageListUrl.set(new URL("https://developer.android.com/reference/androidx/package-list"))
38+
// }
39+
// externalDocumentationLink {
40+
// url.set(new URL("https://developer.android.com/reference/kotlin/"))
41+
// packageListUrl.set(new URL("https://developer.android.com/reference/kotlin/androidx/package-list"))
42+
// }
43+
//
44+
// sourceLink {
45+
// localDirectory.set(project.file("src/main/kotlin"))
46+
// // URL showing where the source code can be accessed through the web browser
47+
// remoteUrl.set(new URL("https://github.com/sceneview/sceneview-android/blob/main/${project.name}/src/main/kotlin"))
48+
// // Suffix which is used to append the line number to the URL. Use #L for GitHub
49+
// remoteLineSuffix.set("#L")
50+
// }
51+
// }
52+
// }
53+
//}
5454

5555
import com.vanniktech.maven.publish.SonatypeHost
5656

0 commit comments

Comments
 (0)