-
-
Notifications
You must be signed in to change notification settings - Fork 162
/
build.gradle
65 lines (60 loc) · 2.23 KB
/
build.gradle
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
60
61
62
63
64
65
buildscript {
ext.kotlin_version = '1.9.24'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24"
// Maven Central Publish
classpath "com.vanniktech:gradle-maven-publish-plugin:0.25.3"
// Dokka
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.9.10"
}
}
apply plugin: 'org.jetbrains.dokka'
//afterEvaluate {
// if (tasks.findByName('dokkaGfmPartial') == null) {
// // If dokka isn't enabled on this module, skip
// return
// }
// tasks.named('dokkaGfmPartial') {
// dokkaSourceSets.configureEach {
// reportUndocumented.set(true)
// skipEmptyPackages.set(true)
// skipDeprecated.set(true)
// jdkVersion.set(8)
//
// // Add Android SDK packages
// noAndroidSdkLink.set(false)
//
// // AndroidX + Compose docs
// externalDocumentationLink {
// url.set(new URL("https://developer.android.com/reference/"))
// packageListUrl.set(new URL("https://developer.android.com/reference/androidx/package-list"))
// }
// externalDocumentationLink {
// url.set(new URL("https://developer.android.com/reference/kotlin/"))
// packageListUrl.set(new URL("https://developer.android.com/reference/kotlin/androidx/package-list"))
// }
//
// sourceLink {
// localDirectory.set(project.file("src/main/kotlin"))
// // URL showing where the source code can be accessed through the web browser
// remoteUrl.set(new URL("https://github.com/sceneview/sceneview-android/blob/main/${project.name}/src/main/kotlin"))
// // Suffix which is used to append the line number to the URL. Use #L for GitHub
// remoteLineSuffix.set("#L")
// }
// }
// }
//}
import com.vanniktech.maven.publish.SonatypeHost
allprojects {
plugins.withId("com.vanniktech.maven.publish") {
mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
}
}
}