Browse Source

Use the 'java-gradle-plugin' plugin for the plugin

Lars Grefer 6 years ago
parent
commit
312f4e645b

+ 8 - 3
buildSrc/build.gradle

@@ -1,11 +1,16 @@
-apply plugin: 'java'
+apply plugin: "java-gradle-plugin"
 
 repositories {
 	mavenCentral()
 }
 
-dependencies {
-	compile gradleApi()
+gradlePlugin {
+	plugins {
+		trang {
+			id = "trang"
+			implementationClass = "trang.TrangPlugin"
+		}
+	}
 }
 
 // GAE

+ 0 - 1
buildSrc/src/main/resources/META-INF/gradle-plugins/trang.properties

@@ -1 +0,0 @@
-implementation-class=trang.TrangPlugin