Jeff Gaston | 2f57588 | 2023-04-19 13:47:50 -0400 | [diff] [blame^] | 1 | // This file applies configuration common to projects in buildSrc |
Jeff Gaston | d72edf2 | 2021-08-24 11:53:54 -0400 | [diff] [blame] | 2 | apply plugin: "kotlin" |
Jeff Gaston | 5e3e7de | 2022-04-21 14:49:47 -0400 | [diff] [blame] | 3 | apply plugin: "java-gradle-plugin" |
Jeff Gaston | d72edf2 | 2021-08-24 11:53:54 -0400 | [diff] [blame] | 4 | |
| 5 | buildscript { |
| 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 Gaston | d72edf2 | 2021-08-24 11:53:54 -0400 | [diff] [blame] | 14 | dependencies { |
Aurimas Liutikas | 6d38ebc | 2022-08-04 16:04:12 -0700 | [diff] [blame] | 15 | implementation(project(":jetpad-integration")) |
Jeff Gaston | d72edf2 | 2021-08-24 11:53:54 -0400 | [diff] [blame] | 16 | } |
| 17 | |
Jeff Gaston | 2f57588 | 2023-04-19 13:47:50 -0400 | [diff] [blame^] | 18 | apply from: "../shared-dependencies.gradle" |
| 19 | |
Jim Sproch | ef5fb01 | 2022-12-06 15:28:12 -0800 | [diff] [blame] | 20 | java { |
| 21 | sourceCompatibility = JavaVersion.VERSION_11 |
| 22 | targetCompatibility = JavaVersion.VERSION_11 |
| 23 | } |
| 24 | |
Jeff Gaston | d72edf2 | 2021-08-24 11:53:54 -0400 | [diff] [blame] | 25 | project.tasks.withType(Jar) { task -> |
| 26 | task.reproducibleFileOrder = true |
| 27 | task.preserveFileTimestamps = false |
| 28 | } |
Jeff Gaston | 5e3e7de | 2022-04-21 14:49:47 -0400 | [diff] [blame] | 29 | |
| 30 | validatePlugins { |
| 31 | enableStricterValidation = true |
| 32 | } |