From 8e5c63d035ef44a269b8c43430f43f5c8eebfb63 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 10 Nov 2023 11:46:54 +0100 Subject: Restructure the project to utilize included builds (#3174) * Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich --- .../it-android-0/src/main/AndroidManifest.xml | 5 ----- .../main/java/it/android/AndroidSpecificClass.kt | 16 ---------------- .../java/it/android/IntegrationTestActivity.kt | 22 ---------------------- 3 files changed, 43 deletions(-) delete mode 100644 integration-tests/gradle/projects/it-android-0/src/main/AndroidManifest.xml delete mode 100644 integration-tests/gradle/projects/it-android-0/src/main/java/it/android/AndroidSpecificClass.kt delete mode 100644 integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt (limited to 'integration-tests/gradle/projects/it-android-0/src/main') 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 deleted file mode 100644 index 43894029..00000000 --- a/integration-tests/gradle/projects/it-android-0/src/main/AndroidManifest.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - 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 deleted file mode 100644 index cb9046b1..00000000 --- a/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/AndroidSpecificClass.kt +++ /dev/null @@ -1,16 +0,0 @@ -@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) -} 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 deleted file mode 100644 index 1792818b..00000000 --- a/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt +++ /dev/null @@ -1,22 +0,0 @@ -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 -- cgit