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 | 4a228f7 | 2021-08-05 15:43:18 -0700 | [diff] [blame] | 7 | classpath(libs.kotlinGradlePluginz) |
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 | |
19 | apply from: "out.gradle" | ||||
Jeff Gaston | d82bdcd | 2023-08-08 12:17:33 -0400 | [diff] [blame] | 20 | init.chooseBuildSrcBuildDir() |
Jeff Gaston | 79a43f2 | 2019-04-09 16:19:12 -0400 | [diff] [blame] | 21 | |
Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 22 | ext.supportRootFolder = project.projectDir.getParentFile() |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 23 | apply from: "repos.gradle" |
Sergey Vasilinets | 164c38d | 2018-02-02 00:50:57 -0800 | [diff] [blame] | 24 | apply plugin: "kotlin" |
Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 25 | |
Jeff Gaston | 78a97ef | 2023-08-08 11:29:04 -0400 | [diff] [blame] | 26 | repos.addMavenRepositories(repositories) |
Sergey Vasilinets | bb245e08 | 2017-10-11 00:16:04 -0700 | [diff] [blame] | 27 | |
Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 28 | dependencies { |
Jeff Gaston | b003748 | 2022-11-28 14:55:01 -0500 | [diff] [blame] | 29 | api(project("plugins")) |
Jeff Gaston | 52d044a | 2020-06-12 18:19:29 -0400 | [diff] [blame] | 30 | } |