Skip to content

Commit e7eb4c7

Browse files
committed
Improve how 'includeBuild' is used in samples
1 parent bea426d commit e7eb4c7

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
pluginManagement {
2-
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
3-
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
4-
}
5-
61
dependencyResolutionManagement {
72
repositories.gradlePluginPortal()
83
}
4+
5+
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
6+
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
7+
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
pluginManagement {
2-
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
3-
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
4-
}
5-
61
dependencyResolutionManagement {
72
repositories.gradlePluginPortal()
83
}
4+
5+
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
6+
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
7+
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
pluginManagement {
2-
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
3-
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
4-
}
5-
61
dependencyResolutionManagement {
72
repositories.gradlePluginPortal()
83
}
4+
5+
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
6+
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
7+
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
pluginManagement {
2-
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
3-
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
4-
}
5-
61
dependencyResolutionManagement {
72
repositories.gradlePluginPortal()
83
}
4+
5+
// This is for testing against the latest version of the plugin, remove if you copied this for a real project
6+
includeBuild(extra.properties["pluginLocation"] ?: rootDir.parentFile.parentFile.parent)
7+

0 commit comments

Comments
 (0)