-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
44 lines (39 loc) · 945 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
Gradle root build file
Project: HomeSetup
Created: 5th March, 2022
Copyright (c) 2024, HomeSetup team
*/
plugins {
id 'idea'
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.7"
}
idea {
module {
settings {
rootModuleType = 'PYTHON_MODULE'
}
sourceDirs += file('bin')
sourceDirs += file('dotfiles')
testSourceDirs += file('tests')
excludeDirs += file('.idea')
excludeDirs += file('.gradle')
excludeDirs += file('.vscode')
excludeDirs += file('run-configs')
}
}
tasks.withType(Exec) {
doFirst {
println commandLine
}
}
ext {
bash = "bash${bashVersion}"
versionFile = "$rootDir/.VERSION"
verbose = findProperty('verbose') ?: false
python = "python${pythonVersion}"
}
apply from: "$projectDir/gradle.properties"
apply from: "$projectDir/gradle/versioning.gradle"
apply from: "$projectDir/gradle/bash.gradle"
apply from: "$projectDir/gradle/idea.gradle"