aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-android-0/src
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-02 14:18:51 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-06 15:34:57 +0200
commita573641a70a626983c1d63965e377ea0be274f41 (patch)
treefa242cb03627437c6a40a38900d894c97a6436c0 /integration-tests/gradle/projects/it-android-0/src
parentb594564969ec4d93d59e4850a63f0fbf8f68cf7a (diff)
downloaddokka-a573641a70a626983c1d63965e377ea0be274f41.tar.gz
dokka-a573641a70a626983c1d63965e377ea0be274f41.tar.bz2
dokka-a573641a70a626983c1d63965e377ea0be274f41.zip
Implement AndroidGradleIntegrationTest
Diffstat (limited to 'integration-tests/gradle/projects/it-android-0/src')
-rw-r--r--integration-tests/gradle/projects/it-android-0/src/main/AndroidManifest.xml1
-rw-r--r--integration-tests/gradle/projects/it-android-0/src/main/java/it/android/AndroidSpecificClass.kt16
2 files changed, 17 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-android-0/src/main/AndroidManifest.xml b/integration-tests/gradle/projects/it-android-0/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..a35f86be
--- /dev/null
+++ b/integration-tests/gradle/projects/it-android-0/src/main/AndroidManifest.xml
@@ -0,0 +1 @@
+<manifest package="org.jetbrains.dokka.it.android"/>
diff --git a/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/AndroidSpecificClass.kt b/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/AndroidSpecificClass.kt
new file mode 100644
index 00000000..cb9046b1
--- /dev/null
+++ b/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/AndroidSpecificClass.kt
@@ -0,0 +1,16 @@
+@file:Suppress("unused")
+
+package it.android
+
+import android.content.Context
+import android.util.SparseIntArray
+import android.view.View
+
+/**
+ * This class is specific to android and uses android classes like:
+ * [Context], [SparseIntArray] or [View]
+ */
+class AndroidSpecificClass {
+ fun sparseIntArray() = SparseIntArray()
+ fun createView(context: Context): View = View(context)
+}