diff --git a/tarkaicons/build.gradle.kts b/tarkaicons/build.gradle.kts deleted file mode 100644 index 8bbd6438..00000000 --- a/tarkaicons/build.gradle.kts +++ /dev/null @@ -1,72 +0,0 @@ -plugins { - id("com.android.library") - id("org.jetbrains.kotlin.android") - id("maven-publish") -} - -android { - namespace = "com.tarkalabs.tarkaicons" - compileSdk = 33 - - defaultConfig { - minSdk = 24 - - testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles("consumer-rules.pro") - } - - buildTypes { - release { - isMinifyEnabled = false - proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") - } - } - compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 - } - kotlinOptions { - jvmTarget = "1.8" - } -} - - -publishing { - publications { - create("gpr") { - run { - groupId = "com.tarkalabs" - artifactId = "tarkaicons" - version = "1.0.0" - artifact("$buildDir/outputs/aar/tarkaicons-release.aar") - } - } - } - - repositories { - maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/REPOSITORY_URL_HERE") - credentials { - username = System.getenv("GITHUB_USER") - password = System.getenv("GITHUB_TOKEN") - } - } - } -} - -dependencies { - val composeUiVersion = "1.4.1" - - implementation("androidx.compose.ui:ui:$composeUiVersion") - implementation("androidx.compose.ui:ui-tooling-preview:$composeUiVersion") - implementation("androidx.compose.material3:material3:1.1.0-rc01") - implementation("androidx.compose.foundation:foundation:$composeUiVersion") - api("com.microsoft.design:fluent-system-icons:1.1.201@aar") - implementation("androidx.core:core-ktx:1.10.0") - implementation("androidx.appcompat:appcompat:1.6.1") - implementation("com.google.android.material:material:1.9.0") - testImplementation("junit:junit:4.13.2") - androidTestImplementation("androidx.test.ext:junit:1.1.5") - androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") -} \ No newline at end of file diff --git a/tarkaui/build.gradle.kts b/tarkaui/build.gradle.kts deleted file mode 100644 index d9acbd20..00000000 --- a/tarkaui/build.gradle.kts +++ /dev/null @@ -1,107 +0,0 @@ -@file:Suppress("UnstableApiUsage") - -plugins { - id("com.android.library") - id("org.jetbrains.kotlin.android") - id("shot") - id("maven-publish") -} - -android { - namespace = "com.tarkalabs.uicomponents" - compileSdk = 33 - - defaultConfig { - minSdk = 26 - targetSdk = 33 - - testInstrumentationRunner = "com.karumi.shot.ShotTestRunner" - testApplicationId = "com.tarkalabs.uicomponents" - consumerProguardFiles("consumer-rules.pro") - } - - buildTypes { - release { - isMinifyEnabled = false - proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") - } - } - compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - kotlinOptions { - jvmTarget = "11" - } - buildFeatures { - compose = true - } - composeOptions { - kotlinCompilerExtensionVersion = "1.4.3" - } - packagingOptions { - resources { - excludes.add("/META-INF/{AL2.0,LGPL2.1}") - } - } - shot { - tolerance = 0.1 - applicationId = "com.tarkalabs.uicomponents" - } - testOptions { - emulatorSnapshots.maxSnapshotsForTestFailures = 10 - } - sourceSets { - getByName("androidTest").assets.srcDir("$projectDir/src/androidTest/java/com/tarkalabs/uicomponents/assets") - } -} - -fun getLibraryArtifactId() = "tarkaui" - -publishing { - publications { - create("gpr") { - run { - groupId = "com.tarkalabs" - artifactId = getLibraryArtifactId() - version = "1.0.0" - artifact("$buildDir/outputs/aar/${getLibraryArtifactId()}-release.aar") - } - } - } - - repositories { - maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/tarkalabs/tarka-ui-kit-android") - credentials { - username = System.getenv("GITHUB_USER") - password = System.getenv("GITHUB_TOKEN") - } - } - } -} - -dependencies { - val composeUiVersion = "1.4.1" - implementation("androidx.core:core-ktx:1.10.0") - implementation("androidx.compose.ui:ui:$composeUiVersion") - implementation("androidx.compose.ui:ui-tooling-preview:$composeUiVersion") - implementation("androidx.compose.material3:material3:1.1.0-rc01") - implementation("androidx.compose.foundation:foundation:$composeUiVersion") - api(project(":tarkaicons")) - - testImplementation("junit:junit:4.13.2") - androidTestImplementation("androidx.test.ext:junit:1.1.5") - androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") - androidTestImplementation("org.mockito.kotlin:mockito-kotlin:4.0.0") - androidTestImplementation("org.mockito:mockito-android:4.5.1") - - androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.4.3") - androidTestImplementation("org.mockito:mockito-android:4.5.1") - debugImplementation("androidx.compose.ui:ui-test-manifest:1.4.3") - debugImplementation ("androidx.compose.ui:ui-tooling:1.4.3") - androidTestImplementation ("androidx.test:core:1.5.0") - -} -