3.0.0
(ChatGPT) Here's a summary list for the diff:
-
Imports Updated:
- Replaced
BiConsumer
withConsumer
.
- Replaced
-
ThisProject Class:
- Moved the
forceImplementation
comment. - Added comments for adding additional plugins.
- Rearranged and clarified dependency addition comments.
- Moved the
-
Class Removed:
- Removed
Plugins
class definition.
- Removed
-
ThirdPartyPlugins Class:
- Added instantiation in static block of
JPM
class to ensure plugins are added.
- Added instantiation in static block of
-
Dependency Class:
- Added
fromGradleString
static method. - Added
excludedDependencies
andtype
attributes. - Added
exclude
methods. - Updated
toString
andtoXML
methods to handle new attributes.
- Added
-
Repository Class:
- Added
isSnapshotsAllowed
attribute. - Updated
toXML
method to handleisSnapshotsAllowed
.
- Added
-
XML Class:
- Renamed
getOrCreateElement
togetElementOrCreate
. - Added
remove
andrename
methods. - Added
getElementOrNull
helper method.
- Renamed
-
Plugin Class:
- Updated
beforeToXMLListeners
to useConsumer<Details>
. - Removed configuration, executions, and dependencies fields.
- Added
Details
inner class to encapsulate plugin details and manage configuration, executions, and dependencies. - Updated
toXML
method to useDetails
.
- Updated
-
Execution Class:
- Updated
toXML
method to handle optionalid
.
- Updated
-
Project Class:
- Defaulted
plugins
toJPM.plugins
. - Added
profiles
attribute and related methods. - Updated
testImplementation
,implementation
,addDependency
, andforceImplementation
methods to returnDependency
. - Added
putPlugin
method for plugin management. - Added
addProfile
andtoXML
methods. - Updated
generatePom
to usetoXML
.
- Defaulted
-
Profile Class:
- Added
Profile
class extendingProject
. - Overridden
toXML
method for profiles.
- Added