Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KTLN-571] Getting the Value of a Custom Property Defined in 'gradle.properties' in Kotlin #1077

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

albertache1998
Copy link
Contributor

Added unit tests

Comment on lines 74 to 85
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<environmentVariables>
<CUSTOM_PROPERTY>CustomValue</CUSTOM_PROPERTY>
<API_URL>https://api.example.com</API_URL>
</environmentVariables>
</configuration>
</plugin>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is leftover, and is probably not needed anymore?

Comment on lines 1 to 2
customProperty=CustomValue
apiUrl=https://api.example.com
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally, properties should be all lowercase and period separated.

custom.property
api.url

@Bwvolleyball
Copy link
Contributor

retest this please

@@ -70,7 +70,6 @@
</execution>
</executions>
</plugin>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to change this file. Let's revert it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants