This repository was archived by the owner on Dec 18, 2022. It is now read-only.
File tree 7 files changed +40
-2
lines changed
src/main/java/io/matthewnelson/topl_core_base
7 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ buildscript {
7
7
}
8
8
dependencies {
9
9
classpath deps. androidGradlePlugin
10
+ classpath deps. dokka
10
11
classpath deps. kotlin. gradlePlugin
11
12
}
12
13
}
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ ext.deps = [
29
29
liveDataCore : " androidx.arch.core:core-testing:2.1.0" ,
30
30
],
31
31
],
32
+ dokka : " org.jetbrains.dokka:dokka-gradle-plugin:0.10.1" ,
32
33
gradleVersions : " com.github.ben-manes:gradle-versions-plugin:0.20.0" ,
33
34
jtorctl : " info.guardianproject:jtorctl:0.4" ,
34
35
junit : " junit:junit:4.12" ,
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
+ apply plugin : ' org.jetbrains.dokka'
4
5
5
6
android {
6
7
compileSdkVersion versions. compileSdk
@@ -34,6 +35,17 @@ android {
34
35
}
35
36
}
36
37
38
+ dokka {
39
+ configuration {
40
+ reportUndocumented = false
41
+ includeNonPublic = false
42
+ skipEmptyPackages = true
43
+ samples = [
44
+ " $rootDir /sampleapp/samplecode/SampleCode.kt" . toString()
45
+ ]
46
+ }
47
+ }
48
+
37
49
dependencies {
38
50
implementation fileTree(dir : " libs" , include : [" *.jar" ])
39
51
implementation deps. kotlin. stdlib
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ class TorConfigFiles private constructor(
181
181
*
182
182
* @param [installDir] directory where the tor binaries are installed.
183
183
* @param [configDir] directory where the filesystem will be setup for tor.
184
+ * @sample [io.matthewnelson.sampleapp.samplecode.SampleCode.customTorConfigFilesSetup]
184
185
*/
185
186
class Builder (private val installDir : File , private val configDir : File ) {
186
187
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ package io.matthewnelson.topl_core_base
57
57
*
58
58
* Would **highly recommend** reading up on what's what:
59
59
* - See <a href="https://2019.www.torproject.org/docs/tor-manual.html.en" target="_blank">docs</a>
60
- *
61
- * @sample [io.matthewnelson.sampleapp.MyTorSettings]
62
60
* */
63
61
abstract class TorSettings : BaseConsts () {
64
62
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
+ apply plugin : ' org.jetbrains.dokka'
4
5
5
6
android {
6
7
compileSdkVersion versions. compileSdk
@@ -34,6 +35,18 @@ android {
34
35
}
35
36
}
36
37
38
+ dokka {
39
+ configuration {
40
+ reportUndocumented = false
41
+ includeNonPublic = false
42
+ skipEmptyPackages = true
43
+ samples = [
44
+ " $rootDir /topl-service/service/TorService.kt" . toString(),
45
+ " $rootDir /topl-service/service/onionproxy/ServiceTorInstaller.kt" . toString()
46
+ ]
47
+ }
48
+ }
49
+
37
50
dependencies {
38
51
implementation fileTree(dir : " libs" , include : [" *.jar" ])
39
52
implementation project(' :topl-core-base' )
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
+ apply plugin : ' org.jetbrains.dokka'
4
5
5
6
android {
6
7
compileSdkVersion versions. compileSdk
@@ -34,6 +35,17 @@ android {
34
35
}
35
36
}
36
37
38
+ dokka {
39
+ configuration {
40
+ reportUndocumented = false
41
+ includeNonPublic = false
42
+ skipEmptyPackages = true
43
+ samples = [
44
+ " $rootDir /sampleapp/samplecode/SampleCode.kt" . toString()
45
+ ]
46
+ }
47
+ }
48
+
37
49
dependencies {
38
50
implementation fileTree(dir : " libs" , include : [" *.jar" ])
39
51
implementation project(' :topl-core' )
You can’t perform that action at this time.
0 commit comments