-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove comment out.
- Loading branch information
Showing
15 changed files
with
137 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Module core | ||
|
||
@README@ | ||
|
||
# Module inappmessaging | ||
|
||
@README@ | ||
|
||
# Module notifications | ||
|
||
@README@ | ||
|
||
# Module variables | ||
|
||
@README@ | ||
|
||
# Module visualtracking | ||
|
||
@README@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
p.paragraph img { | ||
display: inline; | ||
margin-right: 5px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#logo { | ||
background-image: url('https://karte.io/assets/images/common/logo_black.svg'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,54 @@ | ||
apply plugin: 'org.jetbrains.dokka' | ||
|
||
dokka { | ||
Set<ProjectDependency> deps = | ||
project.configurations.collectMany { | ||
it.allDependencies | ||
}.findAll { | ||
it instanceof ProjectDependency | ||
} | ||
task javadocJar(type: Jar, dependsOn: 'dokkaJavadoc', group: 'documentation') { | ||
classifier = 'javadoc' | ||
from "$buildDir/dokka/javadoc" | ||
} | ||
|
||
configuration { | ||
deps.collect { p -> | ||
sourceRoot { | ||
path = "${p.getDependencyProject().projectDir.toString()}/src/main/java" | ||
afterEvaluate { | ||
dokkaHtml { | ||
// failOnWarning.set(true) | ||
dokkaSourceSets { | ||
named("main") { | ||
includeNonPublic.set(false) | ||
skipDeprecated.set(false) | ||
reportUndocumented.set(true) | ||
skipEmptyPackages.set(true) | ||
includes.from("$rootDir/build/dokka/Module.md") | ||
externalDocumentationLink { | ||
url.set(new URL("https://plaidev.github.io/karte-sdk-docs/android/core/latest/core/")) | ||
packageListUrl.set(new URL("https://plaidev.github.io/karte-sdk-docs/android/core/latest/core/package-list")) | ||
} | ||
} | ||
} | ||
def dir = "$rootDir/buildscripts/dokka" | ||
def configJson = """ | ||
{ | ||
"customStyleSheets":["${file("$dir/logo-styles.css")}","${file("$dir/custom-style-to-add.css")}"], | ||
"customAssets":["${file("$dir/logo-icon.svg")}"] | ||
}""".stripIndent().trim() | ||
pluginsMapConfiguration.set(["org.jetbrains.dokka.base.DokkaBase": configJson]) | ||
} | ||
dokkaHtml.dependsOn rootProject.dokkaModuleMd | ||
|
||
dokkaHtml.doLast { | ||
file("$buildDir/dokka/html/index.html").write( | ||
""" | ||
<!DOCTYPE HTML> | ||
<html lang="en-US"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="refresh" content="0; url=$project.name/index.html"> | ||
<script type="text/javascript"> | ||
window.location.href = "$project.name/index.html" | ||
</script> | ||
<title>Documentation</title> | ||
</head> | ||
<body> | ||
If you are not redirected automatically, follow <a href="$project.name/index.html">this link</a>. | ||
</body> | ||
</html> | ||
""".stripIndent().trim() | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apply plugin: 'io.codearte.nexus-staging' | ||
|
||
def getPropOrDefault(name, defaultValue = "") { | ||
if (project.ext.has(name)) | ||
return project.ext.get(name) | ||
return defaultValue | ||
} | ||
|
||
nexusStaging { | ||
packageGroup = 'io.karte.android' | ||
username = getPropOrDefault("ossrhUsername") | ||
password = getPropOrDefault("ossrhPassword") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Thu Nov 21 16:47:40 JST 2019 | ||
#Tue Feb 23 07:12:38 JST 2021 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters