Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Commit 1006942

Browse files
committed
Merge branch 'develop' into bamboo/generate-compilable-element-accessors
2 parents 123514b + 27a12cb commit 1006942

File tree

73 files changed

+409
-397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+409
-397
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@
2020
<!--- Include as many relevant details about the environment you experienced the bug in -->
2121
<!--- A build scan `https://gradle.com/scans/get-started` is ideal -->
2222
* Build scan URL:
23+
* `gradle --version`
24+
* Version of IntelliJ or Android Studio (in `About` menu you can copy version information)
25+
* Version of the Kotlin Plugin used in IntelliJ or Android Studio (in the `Configure Kotlin Plugin Updates` preference panel)

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,27 @@ Gradle Kotlin DSL
77

88
Welcome! The _Gradle Kotlin DSL_ provides support for writing [Gradle](http://gradle.org) build scripts using JetBrains' [Kotlin](http://kotlinlang.org) language. It aims to provide Gradle users with a rich, flexible and statically-typed approach to developing build logic in conjunction with the best IDE and tooling experience possible.
99

10-
You can read more about the project in our [announcement blog post](http://gradle.org/blog/kotlin-meets-gradle) and check out the [frequently asked questions](https://github.com/gradle/kotlin-dsl/wiki/Frequently-Asked-Questions) in the project wiki.
11-
1210

1311
Getting Started
1412
---------------
1513

16-
The fastest way to get up and running with a Kotlin-based Gradle build is to work with one of the [samples](samples). You'll find complete instructions in the README there.
14+
The fastest way to get up and running with a Kotlin-based Gradle build is to use [gradle init](https://docs.gradle.org/current/userguide/build_init_plugin.html)
15+
16+
```
17+
gradle init --dsl kotlin
18+
```
19+
20+
or, if you don't have Gradle installed already, you can generate Gradle builds online at https://gradle-initializr.cleverapps.io/.
1721

18-
The guide [Migrating build logic from Groovy to Kotlin](https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/) is an excellent read if you already have knowledge concerning *Groovy-based Gradle build scripts*.
22+
The Gradle Kotlin DSL is documented in a [dedicated chapter](https://docs.gradle.org/current/userguide/kotlin_dsl.html) in the Gradle user manual.
1923

20-
There are also some helpful [getting started](doc/getting-started) notes for when your build logic gets more complicated.
24+
Moreover, the Gradle [user manual](https://docs.gradle.org/current/userguide/userguide.html) and [guides](https://gradle.org/guides/) contain build script excerpts that demonstrate both the Groovy DSL and the Kotlin DSL. This is the best place where to find how to do this and that with the Gradle Kotlin DSL ; and it covers all Gradle features from [using plugins](https://docs.gradle.org/current/userguide/plugins.html#plugins) to [customizing the dependency resolution behavior](https://docs.gradle.org/current/userguide/customizing_dependency_resolution_behavior.html#customizing_dependency_resolution_behavior).
25+
26+
There are also some Gradle Kotlin DSL [samples](samples) in this repository. You'll find complete instructions in the README there.
27+
28+
If you are looking into migrating an existing build to the Gradle Kotlin DSL, please also check out the [migration guide](https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/).
29+
30+
You can read more about the project in our [announcement blog post](http://gradle.org/blog/kotlin-meets-gradle) and check out the [frequently asked questions](https://github.com/gradle/kotlin-dsl/wiki/Frequently-Asked-Questions) in the project wiki.
2131

2232

2333
Issue Tracking

buildSrc/src/main/kotlin/build/Testing.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import org.gradle.kotlin.dsl.withType
77

88

99
fun Project.withParallelTests() {
10-
tasks.withType<Test> {
10+
tasks.withType<Test>().configureEach {
1111
val maxWorkerCount = gradle.startParameter.maxWorkerCount
1212
maxParallelForks = if (maxWorkerCount < 2) 1 else maxWorkerCount / 2
1313
logger.info("$path will run with maxParallelForks=$maxParallelForks.")

buildSrc/src/main/kotlin/plugins/public-kotlin-dsl-module.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ val generatedResourcesDir = file("$buildDir/generate-resources/main")
6565
val generateClasspathManifest by tasks.registering(GenerateClasspathManifest::class) {
6666
outputDirectory = generatedResourcesDir
6767
}
68-
val main by sourceSets
69-
main.output.dir(generatedResourcesDir, "builtBy" to generateClasspathManifest)
68+
69+
sourceSets.named("main") {
70+
output.dir(generatedResourcesDir, "builtBy" to generateClasspathManifest)
71+
}
7072

7173
fun buildTagFor(version: String): String =
7274
when (version.substringAfterLast('-')) {

doc/getting-started/Closures.md

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,2 @@
1-
# Groovy Closures in the Gradle Kotlin DSL
2-
3-
Most third party plugins are written in groovy with the expectation that closures will
4-
be passed as arguments. In order to provide a way to construct closures while preserving kotlin's
5-
strong typing two helper methods exist:
6-
- `closureOf<...> {...}`
7-
- `delegateClosureOf<...> {...}`.
8-
9-
Both methods are useful in different circumstances and depend upon the method you are passing the
10-
closure into. To understand the difference between the two types of closures [this document](http://groovy-lang.org/closures.html)
11-
may be helpful.
12-
13-
Some plugins expect only closures:
14-
15-
```kotlin
16-
val tests = mapOf(
17-
"API" to "src/test/resources/api/ApiTestSuite.xml",
18-
"System" to "src/test/resources/system/SystemTestSuite.xml"
19-
)
20-
21-
val testTasks = tests.map {
22-
val (name, path) = it
23-
task<Test>("test$name") {
24-
val testNGOptions = closureOf<TestNGOptions> {
25-
suites(path)
26-
}
27-
useTestNG(testNGOptions)
28-
}
29-
}
30-
```
31-
32-
In other cases, like in the [Gretty Plugin](https://github.com/akhikhl/gretty) when configuring farms,
33-
the plugin expects a delegate closure:
34-
```kotlin
35-
configure<FarmsExtension> {
36-
farm("OldCoreWar", delegateClosureOf<FarmExtension> {
37-
// Config for the war here
38-
}
39-
}
40-
```
41-
42-
There sometimes isn't a good way to tell, from looking at the source code, which version to use.
43-
Usually, if you get a `NullPointerException` with the `closureOf`, using `delegateClosureOf`
44-
will resolve the problem.
1+
**Moved to the Gradle user manual**
2+
https://docs.gradle.org/current/userguide/kotlin_dsl.html
Lines changed: 2 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -1,144 +1,2 @@
1-
# Configuring Plugins in the Gradle Kotlin DSL
2-
3-
When writing your build logic in groovy you will often see code like this:
4-
```groovy
5-
pmd {
6-
consoleOutput = true
7-
sourceSets = [sourceSets.main, sourceSets.test]
8-
reportsDir = file("$project.buildDir/reports/pmd")
9-
ruleSetFiles = files(new File(rootDir, "pmd-ruleset.xml"))
10-
ruleSets = []
11-
}
12-
13-
findbugs {
14-
sourceSets = [sourceSets.main, sourceSets.test]
15-
excludeFilter = new File(rootDir, "findBugsSuppressions.xml")
16-
effort = "max"
17-
}
18-
```
19-
20-
These configuration blocks are used by plugins to configure tasks that they add to your build.
21-
22-
They are added as extensions like this:
23-
```groovy
24-
project.extensions.create("greeting", GreetingPluginExtension)
25-
```
26-
27-
Now, in your `build.gradle` you can use the config like this:
28-
```groovy
29-
greeting {
30-
// Various config options here...
31-
}
32-
```
33-
34-
You can read more about this part of the gradle API [here](https://docs.gradle.org/current/userguide/custom_plugins.html).
35-
36-
When using the Gradle Kotlin DSL it is heavily recommended to apply Gradle plugins declaratively using the `plugins {}`
37-
block. This will enable type-safe extension accessors you will use to configure plugins.
38-
39-
```kotlin
40-
plugins {
41-
// Gradle built-in
42-
`application`
43-
// From the Gradle Plugin Portal
44-
id("com.bmuschko.docker-java-application") version "3.1.0"
45-
}
46-
47-
// Type-safe accessor for the extension contributed by the `application` plugin
48-
application {
49-
mainClassName = "samples.HelloWorld"
50-
}
51-
52-
// Type-safe accessor for the extension contributed by the Docker plugin
53-
registryCredentials {
54-
url = "https://docker.acme.com/v1/"
55-
}
56-
```
57-
58-
Plugins fetched from another source than the [Gradle Plugin Portal](https://plugins.gradle.org) may or may not be usable
59-
with the `plugins {}` block depending on how they have been published. If you're publishing plugins, please use
60-
the Gradle built-in [`java-gradle-plugin`](https://docs.gradle.org/current/userguide/javaGradle_plugin.html) plugin
61-
that automates publication of supplementary data to make your plugins usable with the `plugins {}` block.
62-
63-
For example, the Android Gradle Plugin plugins are not published to the Gradle Plugin Portal and the metadata
64-
required to resolve plugin identifiers to resolvable artifacts
65-
[is not published](https://issuetracker.google.com/issues/64551265).
66-
The following snippets will use the Android Gradle Plugin to demonstrate how to enable the use of the `plugins {}` block
67-
anyway.
68-
69-
The goal here is to instruct your build how to map the `com.android.application` plugin identifier to a resolvable
70-
artifact.
71-
This is done in two steps.
72-
73-
First add a plugin repository in your `settings.gradle.kts` file for the whole build:
74-
```kotlin
75-
pluginManagement {
76-
repositories {
77-
gradlePluginPortal()
78-
google()
79-
}
80-
}
81-
```
82-
83-
Then, map the plugin `id` to the corresponding artifact coordinates, still in your `settings.gradle.kts` file:
84-
85-
```kotlin
86-
pluginManagement {
87-
// ...
88-
resolutionStrategy {
89-
eachPlugin {
90-
if (requested.id.id == "com.android.application") {
91-
useModule("com.android.tools.build:gradle:${requested.version}")
92-
}
93-
}
94-
}
95-
}
96-
```
97-
98-
You can now apply the `com.android.application` plugin using the `plugins {}` block and benefit from the type-safe
99-
plugin extension accessors, in your `build.gradle.kts` file:
100-
101-
```kotlin
102-
plugins {
103-
id("com.android.application") version "3.0.0"
104-
}
105-
106-
android {
107-
buildToolsVersion("27.0.0")
108-
compileSdkVersion(27)
109-
}
110-
```
111-
112-
See the [Plugin Management](https://docs.gradle.org/current/userguide/plugins.html#sec:plugin_management) section of
113-
the Gradle documentation for more information.
114-
115-
The same can be applied to resolving plugins from composite builds.
116-
Composite builds [do not expose plugin markers](https://github.com/gradle/gradle/issues/2528) yet.
117-
This can be worked around by mapping the plugin `id` to the corresponding artifact coordinates using a plugin
118-
resolution strategy, just like above.
119-
120-
If you can't use the `plugins {}` block, you need to apply the plugin imperatively (using the `buildscript` block and
121-
`apply<PluginType>()` or `apply(plugin = "id")`) and to know the type of the extension.
122-
123-
The following groovy block of code:
124-
125-
```groovy
126-
greeting {
127-
// Various config options here...
128-
}
129-
```
130-
131-
would now become:
132-
133-
```kotlin
134-
configure<GreetingPluginExtension> {
135-
// Various config options here...
136-
}
137-
```
138-
139-
If `GreetingPluginExtension` is not in the base package you will need to import the class.
140-
141-
In order to determine what class you need to use in your `configure<...>` call you may need to
142-
examine the plugins source code to determine which object is being used to configure the plugin.
143-
There may be more than one object for some plugins.
144-
1+
**Moved to the Gradle user manual**
2+
https://docs.gradle.org/current/userguide/kotlin_dsl.html
Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,2 @@
1-
## Kotlin versions and the Gradle Kotlin DSL
2-
3-
Gradle Kotlin DSL ships with `kotlin-compiler-embeddable` plus matching versions of `kotlin-stdlib` and `kotlin-reflect`
4-
libraries. For example, Gradle 4.3 ships with the Gradle Kotlin DSL v0.12.1 that includes Kotlin 1.1.51 versions of
5-
these modules. The `kotlin` package from those modules is visible through the Gradle classpath.
6-
7-
The [compatibility guarantees](https://kotlinlang.org/docs/reference/compatibility.html) provided by Kotlin apply for
8-
both backward and forward compatibility.
9-
10-
### Backward compatibility
11-
12-
Our approach is to only do backwards-breaking Kotlin upgrades on a major Gradle release. We will always clearly document
13-
which Kotlin version we ship and announce upgrade plans before a major release.
14-
15-
> Until the release of Gradle Kotlin DSL v1.0 our policy will be to ship with the latest stable Kotlin version available
16-
> at the time.
17-
18-
Plugin authors who want to stay compatible with older Gradle versions need to limit their API usage to a subset that is
19-
compatible with these old versions. It’s not really different from any other new API in Gradle. E.g. if we introduce a
20-
new API for dependency resolution and a plugin wants to use that API, then they either need to drop support for older
21-
Gradle versions or they need to do some clever organization of their code to only execute the new code path on newer
22-
versions.
23-
24-
### Forward compatibility
25-
26-
The biggest issue is the compatibility between the external `kotlin-gradle-plugin` version and the `kotlin-stdlib`
27-
version shipped with Gradle. More generally, between any plugin that transitively depends on `kotlin-stdlib` and its
28-
version shipped with Gradle. As long as the combination is compatible everything should work. This will become less of
29-
an issue as the language matures.
1+
**Moved to the Gradle user manual**
2+
https://docs.gradle.org/current/userguide/kotlin_dsl.html

doc/getting-started/README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
Getting Started
2-
===============
3-
4-
The fastest way to get up and running with a Kotlin-based Gradle build is to work with one of the [samples](../../samples). You'll find complete instructions in the README there.
5-
6-
Please check out these additional notes if you want to know more about:
7-
8-
* [Using Groovy closures in Kotlin](./Closures.md)
9-
* [Configuring plugins in Kotlin](./Configuring-Plugins.md)
10-
* [Kotlin versions and the Gradle Kotlin DSL ](./Kotlin-Versions.md)
1+
**Moved to the Gradle user manual**
2+
https://docs.gradle.org/current/userguide/kotlin_dsl.html

doc/release-notes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Release Notes
22
=============
33

4-
Source documents for the release notes published at https://github.com/gradle/gradle-script-kotlin/releases.
4+
Source documents for the release notes published at https://github.com/gradle/kotlin-dsl/releases.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/ant/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/build-cache/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/build-scan/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/buildSrc-plugin/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/code-quality/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/composite-builds/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/copy/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/domain-objects/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/extra-properties/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/gradle-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/groovy-interop/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/hello-android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

samples/hello-coroutines/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181002064650+0000-all.zip
5+
distributionUrl=https\://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-kotlin-dsl-5.0-20181012164652+0000-all.zip

0 commit comments

Comments
 (0)