amethyst/build.gradle

25 lines
923 B
Groovy
Raw Normal View History

2023-01-11 18:31:20 +00:00
buildscript {
ext {
2023-04-27 20:23:30 +00:00
fragment_version = "1.5.7"
2023-03-30 20:53:13 +00:00
lifecycle_version = '2.6.1'
2023-04-27 21:35:53 +00:00
compose_ui_version = '1.4.2'
2023-01-11 18:31:20 +00:00
nav_version = "2.5.3"
room_version = "2.4.3"
2023-03-30 20:53:13 +00:00
accompanist_version = '0.30.0'
coil_version = '2.3.0'
2023-01-11 18:31:20 +00:00
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
2023-05-09 15:10:53 +00:00
id 'com.android.application' version '8.0.1' apply false
id 'com.android.library' version '8.0.1' apply false
2023-02-25 21:18:31 +00:00
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id 'org.jetbrains.kotlin.jvm' version '1.8.10' apply false
2023-03-07 18:09:26 +00:00
}
task installGitHook(type: Copy) {
2023-03-08 19:17:04 +00:00
from new File(rootProject.rootDir, 'git-hooks/pre-commit')
from new File(rootProject.rootDir, 'git-hooks/pre-push')
2023-03-07 18:09:26 +00:00
into { new File(rootProject.rootDir, '.git/hooks') }
fileMode 0777
}
tasks.getByPath(':app:preBuild').dependsOn installGitHook