1 Star 0 Fork 0

itfitness/sceneview-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
Thomas Gorisse 提交于 2022-12-23 12:47 . Draft
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
// Maven Central Publish
classpath "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
// Dokka
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.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")
}
}
}
}
allprojects {
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/itfitness/sceneview-android.git
[email protected]:itfitness/sceneview-android.git
itfitness
sceneview-android
sceneview-android
arsceneview_1_0_0

搜索帮助