Switched annotation processor off in compileJava task.
Fixed package name typo.
This commit is contained in:
parent
f178de0fb0
commit
468772c3d1
3 changed files with 10 additions and 6 deletions
|
@ -9,7 +9,7 @@ defaultTasks 'run'
|
|||
|
||||
version = '0.1'
|
||||
|
||||
mainClassName = 'net.thauvin.erik.annotpoctest.Example'
|
||||
mainClassName = 'net.thauvin.erik.annotproctest.Example'
|
||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||
|
||||
repositories {
|
||||
|
@ -19,7 +19,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
//compile "com.beust:version-processor:0.2"
|
||||
compile "com.beust:version-processor:0.2"
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,3 +27,7 @@ annotationProcessor {
|
|||
library "com.beust:version-processor:0.2"
|
||||
processor "com.beust.version.VersionProcessor"
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs << '-proc:none'
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package net.thauvin.erik.annotpoctest;
|
||||
package net.thauvin.erik.annotproctest;
|
||||
|
||||
public class GeneratedVersion {
|
||||
public static final String VERSION = "0.1";
|
|
@ -1,4 +1,4 @@
|
|||
package net.thauvin.erik.annotpoctest;
|
||||
package net.thauvin.erik.annotproctest;
|
||||
|
||||
import com.beust.version.Version;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue