Skip to content

Commit 2aa05b4

Browse files
authored
Update README.md
1 parent eccf3f5 commit 2aa05b4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ repositories {
1414
}
1515
```
1616
```groovy
17-
compile "com.spring.loader:s3-loader:1.0.3"
17+
compile "com.spring.loader:s3-loader:1.0.4"
1818
```
1919
Maven:
2020
```xml
2121
<dependency>
2222
<groupId>com.spring.loader</groupId>
2323
<artifactId>s3-loader</artifactId>
24-
<version>1.0.3</version>
24+
<version>1.0.4</version>
2525
<type>pom</type>
2626
</dependency>
2727
```
@@ -36,6 +36,10 @@ Add this annotation to any spring managed bean
3636
```java
3737
@S3PropertiesLocation("my-bucket/my-folder/my-properties.properties")
3838
```
39+
or using a specific profile to only load properties if the app is running with that profile
40+
```java
41+
@S3PropertiesLocation(path = "my-bucket/my-folder/my-properties.properties", profiles = "production")
42+
```
3943

4044
**Configuration**
4145
```java

0 commit comments

Comments
 (0)