generated from remal-gradle-plugins/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-later]
WhoCalledUtils.getCallingClasses()
- Loading branch information
Showing
7 changed files
with
87 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...compile--common/src/main/java/name/remal/gradle_plugins/toolkit/reflection/WhoCalled.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
toolkit/src/main/java/name/remal/gradle_plugins/toolkit/ToolkitBuildInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package name.remal.gradle_plugins.toolkit; | ||
|
||
import static lombok.AccessLevel.PRIVATE; | ||
import static name.remal.gradle_plugins.build_time_constants.api.BuildTimeConstants.getStringProperty; | ||
|
||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(access = PRIVATE) | ||
abstract class ToolkitBuildInfo { | ||
public static final String TOOLKIT_GROUP_ID = getStringProperty("project.group"); | ||
public static final String TOOLKIT_ARTIFACT_IT = getStringProperty("project.name"); | ||
public static final String TOOLKIT_VERSION = getStringProperty("project.version"); | ||
} |
17 changes: 16 additions & 1 deletion
17
.../src/main/java/name/remal/gradle_plugins/toolkit/reflection/WhoCalledSecurityManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
toolkit/src/test/java/name/remal/gradle_plugins/toolkit/reflection/WhoCalledUtilsTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters