Merge pull request #312 from liblit/gradle-load-plugins-modernization
Load Gradle plugins using “plugins” closure rather than “apply plugin”
This commit is contained in:
commit
d2852beebf
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets.test.java.srcDirs = ['src']
|
sourceSets.test.java.srcDirs = ['src']
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: 'com.github.hauner.jarTest'
|
plugins {
|
||||||
apply plugin: 'eclipse'
|
id 'com.github.hauner.jarTest'
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'com.github.hauner.jarTest'
|
plugins {
|
||||||
|
id 'com.github.hauner.jarTest'
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets.test {
|
sourceSets.test {
|
||||||
java.srcDirs = ['harness-src']
|
java.srcDirs = ['harness-src']
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'base'
|
plugins {
|
||||||
|
id 'base'
|
||||||
|
}
|
||||||
|
|
||||||
task downloadAjaxslt(type: VerifiedDownload) {
|
task downloadAjaxslt(type: VerifiedDownload) {
|
||||||
def version = '0.8.1'
|
def version = '0.8.1'
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'com.github.hauner.jarTest'
|
plugins {
|
||||||
|
id 'com.github.hauner.jarTest'
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets.test {
|
sourceSets.test {
|
||||||
java.srcDirs = ['harness-src']
|
java.srcDirs = ['harness-src']
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
apply plugin: 'com.github.hauner.jarTest'
|
plugins {
|
||||||
apply plugin: 'cpp'
|
id 'com.github.hauner.jarTest'
|
||||||
apply plugin: 'eclipse'
|
id 'cpp'
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: 'cpp'
|
plugins {
|
||||||
apply plugin: 'eclipse'
|
id 'cpp'
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: 'com.github.hauner.jarTest'
|
plugins {
|
||||||
apply plugin: 'eclipse'
|
id 'com.github.hauner.jarTest'
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: 'com.github.hauner.jarTest'
|
plugins {
|
||||||
apply plugin: 'eclipse'
|
id 'com.github.hauner.jarTest'
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: 'eclipse'
|
plugins {
|
||||||
|
id 'eclipse'
|
||||||
|
}
|
||||||
|
|
||||||
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
eclipse.project.natures 'org.eclipse.pde.PluginNature'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue