Compare commits
7 Commits
Version_1.
...
master
Author | SHA1 | Date |
---|---|---|
Robinson | 86980fde72 | |
Robinson | 31a77b6ec0 | |
Robinson | 7b255b2687 | |
Robinson | 022812e58e | |
Robinson | 452a71d75a | |
Robinson | 76c9797c01 | |
Robinson | d2790cc2d9 |
|
@ -13,7 +13,7 @@ Maven Info
|
|||
<dependency>
|
||||
<groupId>com.dorkbox</groupId>
|
||||
<artifactId>PropertyLoader</artifactId>
|
||||
<version>1.3</version>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
|
|
@ -23,17 +23,17 @@
|
|||
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
|
||||
|
||||
plugins {
|
||||
id("com.dorkbox.GradleUtils") version "3.17"
|
||||
id("com.dorkbox.GradleUtils") version "3.18"
|
||||
id("com.dorkbox.Licensing") version "2.24"
|
||||
id("com.dorkbox.VersionUpdate") version "2.8"
|
||||
id("com.dorkbox.GradlePublish") version "1.18"
|
||||
id("com.dorkbox.GradlePublish") version "1.22"
|
||||
}
|
||||
|
||||
object Extras {
|
||||
// set for the project
|
||||
const val description = "Property annotation and loader for fields"
|
||||
const val group = "com.dorkbox"
|
||||
const val version = "1.3"
|
||||
const val version = "1.4"
|
||||
|
||||
// set as project.ext
|
||||
const val name = "PropertyLoader"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -13,3 +13,4 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
rootProject.name = "PropertyLoader"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2021 dorkbox, llc
|
||||
* Copyright 2023 dorkbox, llc
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -27,7 +27,7 @@ import java.lang.annotation.Target;
|
|||
* <br>
|
||||
* Loading arguments is left for the end-user application. Using an annotation detector to load/save properties is recommended.
|
||||
* <br>
|
||||
* For example (if implemented): -Ddorkbox.Args.Debug=true
|
||||
* For example (if implemented): -DmyApp.enable_debug=true
|
||||
*/
|
||||
@Retention(value = RetentionPolicy.RUNTIME)
|
||||
@Target(value = {ElementType.FIELD})
|
||||
|
@ -38,4 +38,9 @@ public
|
|||
* This is used to mark a unique value for the property, in case the object name is used elsewhere, is generic, or is repeated.
|
||||
*/
|
||||
String alias() default "";
|
||||
|
||||
/**
|
||||
* This is used to set a description of the property, where it's defined.
|
||||
*/
|
||||
String description() default "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue