mirror of
https://github.com/ethauvin/version-processor.git
synced 2025-04-24 23:47:11 -07:00
Initial commit
This commit is contained in:
commit
71c48e2f65
19 changed files with 326 additions and 0 deletions
13
example/example.iml
Normal file
13
example/example.iml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||
<orderEntry type="module" module-name="processor" />
|
||||
</component>
|
||||
</module>
|
15
example/src/main/java/com/beust/apt/example/Example.java
Normal file
15
example/src/main/java/com/beust/apt/example/Example.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package com.beust.apt.example;
|
||||
|
||||
import com.beust.apt.processor.Version;
|
||||
|
||||
@Version("1.2")
|
||||
class Example {
|
||||
public Example() {
|
||||
System.out.println("Instantiating Example");
|
||||
}
|
||||
|
||||
public static void main(String[] argv) {
|
||||
new Example();
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue