aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/projects')
-rw-r--r--integration-tests/gradle/projects/it-android-0/build.gradle.kts1
-rw-r--r--integration-tests/gradle/projects/it-android-0/gradle.properties1
-rw-r--r--integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt22
3 files changed, 24 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-android-0/build.gradle.kts b/integration-tests/gradle/projects/it-android-0/build.gradle.kts
index 32c5c56c..799ec22d 100644
--- a/integration-tests/gradle/projects/it-android-0/build.gradle.kts
+++ b/integration-tests/gradle/projects/it-android-0/build.gradle.kts
@@ -15,5 +15,6 @@ android {
dependencies {
implementation(kotlin("stdlib"))
+ implementation("androidx.appcompat:appcompat:1.1.0")
}
diff --git a/integration-tests/gradle/projects/it-android-0/gradle.properties b/integration-tests/gradle/projects/it-android-0/gradle.properties
index 1332de19..2bdf43b4 100644
--- a/integration-tests/gradle/projects/it-android-0/gradle.properties
+++ b/integration-tests/gradle/projects/it-android-0/gradle.properties
@@ -1,2 +1,3 @@
dokka_it_kotlin_version=1.3.72
dokka_it_android_gradle_plugin_version=4.0.0
+android.useAndroidX=true
diff --git a/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt b/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt
new file mode 100644
index 00000000..1792818b
--- /dev/null
+++ b/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt
@@ -0,0 +1,22 @@
+package it.android
+
+import android.annotation.SuppressLint
+import android.os.Bundle
+import android.widget.TextView
+import androidx.appcompat.app.AppCompatActivity
+
+/**
+ * Some Activity implementing [AppCompatActivity] from android x
+ */
+class IntegrationTestActivity : AppCompatActivity() {
+ /**
+ * Will show a small happy text
+ */
+ @SuppressLint("SetTextI18n")
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ val textView = TextView(this)
+ textView.text = "I am so happy :)"
+ setContentView(textView)
+ }
+} \ No newline at end of file