blob: b342c0becd2da5e85dab84a87f7864518b0481a8 [file] [log] [blame]
Jeff Gaston2f575882023-04-19 13:47:50 -04001// This file applies configuration common to projects in buildSrc
Jeff Gastond72edf22021-08-24 11:53:54 -04002apply plugin: "kotlin"
Jeff Gaston5e3e7de2022-04-21 14:49:47 -04003apply plugin: "java-gradle-plugin"
Jeff Gastond72edf22021-08-24 11:53:54 -04004
5buildscript {
6 project.ext.supportRootFolder = project.projectDir.getParentFile().getParentFile()
7 apply from: "../repos.gradle"
8 repos.addMavenRepositories(repositories)
9 dependencies {
10 classpath(libs.kotlinGradlePluginz)
11 }
12}
13
Jeff Gastond72edf22021-08-24 11:53:54 -040014dependencies {
Aurimas Liutikas6d38ebc2022-08-04 16:04:12 -070015 implementation(project(":jetpad-integration"))
Jeff Gastond72edf22021-08-24 11:53:54 -040016}
17
Jeff Gaston2f575882023-04-19 13:47:50 -040018apply from: "../shared-dependencies.gradle"
19
Jim Sprochef5fb012022-12-06 15:28:12 -080020java {
21 sourceCompatibility = JavaVersion.VERSION_11
22 targetCompatibility = JavaVersion.VERSION_11
23}
24
Jeff Gastond72edf22021-08-24 11:53:54 -040025project.tasks.withType(Jar) { task ->
26 task.reproducibleFileOrder = true
27 task.preserveFileTimestamps = false
28}
Jeff Gaston5e3e7de2022-04-21 14:49:47 -040029
30validatePlugins {
31 enableStricterValidation = true
32}