Gradle files for Unlauncher

pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Unlauncher"

include ':app'



// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.4.1' apply false
id 'com.android.library' version '7.4.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
id 'com.google.dagger.hilt.android' version '2.44' apply false
}

task clean(type: Delete) {
delete rootProject.buildDir

} 




plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id("com.google.protobuf") version "0.8.17"
id 'kotlin-kapt'
id 'com.google.dagger.hilt.android'
id 'kotlin-android'

}

android {
namespace 'com.jkuester.unlauncher'
compileSdk 33

defaultConfig {
applicationId "com.jkuester.unlauncher"
minSdk 25
targetSdk 33
versionCode 1
versionName "1.0"
vectorDrawables { useSupportLibrary = true }
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled 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'
}
testOptions {
unitTests.includeAndroidResources = true
}

applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "${variant.applicationId}.apk"
}
}

}

dependencies {

implementation 'androidx.core:core-ktx:1.7.0'

implementation 'androidx.appcompat:appcompat:1.6.1'

// Support Libraries

implementation 'androidx.recyclerview:recyclerview:1.3.0'
implementation 'androidx.datastore:datastore:1.0.0'
implementation 'androidx.datastore:datastore-core:1.0.0'
implementation 'com.google.protobuf:protobuf-javalite:3.10.0'

// Arch Components
implementation 'androidx.fragment:fragment-ktx:1.3.6'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
implementation 'androidx.room:room-runtime:2.2.5'
implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0'
kapt 'androidx.room:room-compiler:2.2.5'

// 3rd party libs
implementation 'com.intuit.sdp:sdp-android:1.0.6'
implementation 'com.intuit.ssp:ssp-android:1.0.6'
implementation 'com.google.dagger:hilt-android:2.35'
kapt 'androidx.hilt:hilt-compiler:1.0.0'
kapt 'com.google.dagger:hilt-android-compiler:2.35'


implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

protobuf {
protoc {
artifact = "com.google.protobuf:protoc:3.17.3"
}
generateProtoTasks {
all().each { task ->
task.builtins {
'java' {
option 'lite'
}
}
}
}
}

Comments

Popular Posts