This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 24f2e8b Build script: move JavaPluginConvention to the top of
JavaPlugin block
24f2e8b is described below
commit 24f2e8b4b98d79783122fbb9507488130c092b80
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Sat Aug 3 22:50:19 2019 +0300
Build script: move JavaPluginConvention to the top of JavaPlugin block
The idea is to keep shorter sections closer to the top so it is easier to
relate.
---
build.gradle.kts | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 7b26638..d09f15b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -307,6 +307,9 @@ allprojects {
plugins.withType<JavaPlugin> {
// This block is executed right after `java` plugin is added to a
project
+ java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ }
repositories {
jcenter()
@@ -414,9 +417,5 @@ allprojects {
}
}
}
-
- configure<JavaPluginConvention> {
- sourceCompatibility = JavaVersion.VERSION_1_8
- }
}
}