Compare commits

...

7 Commits

Author SHA1 Message Date
Robinson 86980fde72
updated build deps 2023-11-27 17:14:36 +01:00
Robinson 31a77b6ec0
Updated build deps 2023-10-09 12:25:39 +02:00
Robinson 7b255b2687
updated build deps, kotlin 1.9.0 2023-10-02 16:15:02 +02:00
Robinson 022812e58e
updated gradle 2023-10-02 16:12:50 +02:00
Robinson 452a71d75a
version 1.4 2023-08-19 15:52:51 +02:00
Robinson 76c9797c01
Added description to annotation 2023-08-19 15:52:33 +02:00
Robinson d2790cc2d9
Hardcoded project name 2023-08-05 12:26:33 -06:00
5 changed files with 13 additions and 7 deletions

View File

@ -13,7 +13,7 @@ Maven Info
<dependency>
<groupId>com.dorkbox</groupId>
<artifactId>PropertyLoader</artifactId>
<version>1.3</version>
<version>1.4</version>
</dependency>
</dependencies>
```

View File

@ -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"

View File

@ -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

View File

@ -13,3 +13,4 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
rootProject.name = "PropertyLoader"

View File

@ -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 "";
}