Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 1 | buildscript { |
Jeff Gaston | fb6f844 | 2020-05-26 17:53:58 -0400 | [diff] [blame] | 2 | project.ext.supportRootFolder = project.projectDir.getParentFile() |
Nikolay Igotti | a380109 | 2021-05-25 16:43:47 +0300 | [diff] [blame] | 3 | apply from: "repos.gradle" |
| 4 | repos.addMavenRepositories(repositories) |
Sergey Vasilinets | ccb3fcb | 2017-10-16 23:46:48 +0000 | [diff] [blame] | 5 | |
Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 6 | dependencies { |
Aurimas Liutikas | 61353f8 | 2024-10-10 11:05:29 -0700 | [diff] [blame] | 7 | classpath(libs.kotlinGradlePlugin) |
Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 8 | } |
Jake Wharton | 7495cc1 | 2018-01-05 11:05:13 -0500 | [diff] [blame] | 9 | |
| 10 | configurations.classpath.resolutionStrategy { |
| 11 | eachDependency { details -> |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 12 | if (details.requested.group == "org.jetbrains.kotlin") { |
Aurimas Liutikas | e1b8458 | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 13 | details.useVersion libs.versions.kotlin.get() |
Jake Wharton | 7495cc1 | 2018-01-05 11:05:13 -0500 | [diff] [blame] | 14 | } |
| 15 | } |
| 16 | } |
Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 17 | } |
Jeff Gaston | 79a43f2 | 2019-04-09 16:19:12 -0400 | [diff] [blame] | 18 | |
Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 19 | ext.supportRootFolder = project.projectDir.getParentFile() |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 20 | apply from: "repos.gradle" |
Sergey Vasilinets | 164c38d | 2018-02-02 00:50:57 -0800 | [diff] [blame] | 21 | apply plugin: "kotlin" |
Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 22 | |
Jeff Gaston | 78a97ef | 2023-08-08 11:29:04 -0400 | [diff] [blame] | 23 | repos.addMavenRepositories(repositories) |
Sergey Vasilinets | bb245e08 | 2017-10-11 00:16:04 -0700 | [diff] [blame] | 24 | |
Owen Gray | 877bbd3 | 2024-07-19 10:01:20 -0400 | [diff] [blame] | 25 | project.tasks.withType(Jar).configureEach { task -> |
| 26 | task.reproducibleFileOrder = true |
| 27 | task.preserveFileTimestamps = false |
| 28 | } |
| 29 | |
Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 30 | dependencies { |
Jeff Gaston | b003748 | 2022-11-28 14:55:01 -0500 | [diff] [blame] | 31 | api(project("plugins")) |
Jeff Gaston | 52d044a | 2020-06-12 18:19:29 -0400 | [diff] [blame] | 32 | } |