私はここでthorntailの例を見てきました。
私はこのプロジェクトを作成しました:
frontoffice
├── gradle.properties
├── build.gradle
└── gradle
└── thorntail.gradle
thorntail.gradle
は:
buildscript {
String thorntailVersion = System.getProperty('thorntailVersion') ?: VERSION_THORNTAIL
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
classpath "io.thorntail:thorntail-gradle-plugin:$thorntailVersion"
}
}
とbuild.gradle
:
apply from: "$projectDir/gradle/thorntail.gradle"
apply plugin: 'thorntail'
私は得ています:
➜ prjt git:(master) ✗ gradle clean compile
FAILURE: Build failed with an exception.
* Where:
Build file '/home/jeusdi/projects/espaidoc/frontoffice/build.gradle' line: 10
* What went wrong:
A problem occurred evaluating project ':frontoffice'.
**> Plugin with id 'thorntail' not found.**
何か案は?