11apply plugin : ' com.android.library'
22apply plugin : ' kotlin-android'
3- apply from : rootProject. file(' gradle/maven-publish.gradle' )
43
54android {
65 compileSdkVersion versions. compileSdk
@@ -39,42 +38,42 @@ android {
3938 }
4039}
4140
42- dokka {
43- configuration {
44- moduleName = ' topl-service'
45- subProjects = [ ' topl-core-base' , ' topl-service-base' , ' topl-core' ]
46- reportUndocumented = false
47- includeNonPublic = false
48- skipEmptyPackages = true
49- samples = [
50- " $rootDir /sampleapp/src/main/java/io/matthewnelson/sampleapp/topl_android/CodeSamples.kt" . toString()
51- ]
52- sourceLink {
53- url = " https://github.com/05nelsonm/TorOnionProxyLibrary-Android/blob/master/"
54- lineSuffix = " #L"
55- }
56- externalDocumentationLink {
57- // Dokka plugin requires a protocol (http/https/etc.) here, so we have to repair the
58- // links after building the docs by running `./gradlew fixDokkaDocLinks`.
59- url = new URL (" http://FIX_DOKKA_LINKS/topl-service-base/" )
60- packageListUrl = new URL (" file://$rootDir /docs/topl-service-base/package-list" )
61- }
62- externalDocumentationLink {
63- // Dokka plugin requires a protocol (http/https/etc.) here, so we have to repair the
64- // links after building the docs by running `./gradlew fixDokkaDocLinks`.
65- url = new URL (" http://FIX_DOKKA_LINKS/topl-core/" )
66- packageListUrl = new URL (" file://$rootDir /docs/topl-core/package-list" )
67- }
68- externalDocumentationLink {
69- // Dokka plugin requires a protocol (http/https/etc.) here, so we have to repair the
70- // links after building the docs by running `./gradlew fixDokkaDocLinks`.
71- url = new URL (" http://FIX_DOKKA_LINKS/topl-core-base/" )
72- packageListUrl = new URL (" file://$rootDir /docs/topl-core-base/package-list" )
73- }
74- }
75- outputFormat = ' gfm'
76- outputDirectory = " $rootDir /docs/"
77- }
41+ // dokka {
42+ // configuration {
43+ // moduleName = 'topl-service'
44+ // subProjects = [ 'topl-core-base', 'topl-service-base', 'topl-core' ]
45+ // reportUndocumented = false
46+ // includeNonPublic = false
47+ // skipEmptyPackages = true
48+ // samples = [
49+ // "$rootDir/sampleapp/src/main/java/io/matthewnelson/sampleapp/topl_android/CodeSamples.kt".toString()
50+ // ]
51+ // sourceLink {
52+ // url = "https://github.com/05nelsonm/TorOnionProxyLibrary-Android/blob/master/"
53+ // lineSuffix = "#L"
54+ // }
55+ // externalDocumentationLink {
56+ // // Dokka plugin requires a protocol (http/https/etc.) here, so we have to repair the
57+ // // links after building the docs by running `./gradlew fixDokkaDocLinks`.
58+ // url = new URL("http://FIX_DOKKA_LINKS/topl-service-base/")
59+ // packageListUrl = new URL("file://$rootDir/docs/topl-service-base/package-list")
60+ // }
61+ // externalDocumentationLink {
62+ // // Dokka plugin requires a protocol (http/https/etc.) here, so we have to repair the
63+ // // links after building the docs by running `./gradlew fixDokkaDocLinks`.
64+ // url = new URL("http://FIX_DOKKA_LINKS/topl-core/")
65+ // packageListUrl = new URL("file://$rootDir/docs/topl-core/package-list")
66+ // }
67+ // externalDocumentationLink {
68+ // // Dokka plugin requires a protocol (http/https/etc.) here, so we have to repair the
69+ // // links after building the docs by running `./gradlew fixDokkaDocLinks`.
70+ // url = new URL("http://FIX_DOKKA_LINKS/topl-core-base/")
71+ // packageListUrl = new URL("file://$rootDir/docs/topl-core-base/package-list")
72+ // }
73+ // }
74+ // outputFormat = 'gfm'
75+ // outputDirectory = "$rootDir/docs/"
76+ // }
7877
7978dependencies {
8079 implementation fileTree(dir : " libs" , include : [" *.jar" ])
@@ -96,4 +95,6 @@ dependencies {
9695 androidTestImplementation testDeps. androidx. core
9796 androidTestImplementation testDeps. androidx. espresso
9897 androidTestImplementation testDeps. androidx. junit
99- }
98+ }
99+
100+ apply from : rootProject. file(' gradle/maven-publish.gradle' )
0 commit comments