Skip to content

Commit eee01d4

Browse files
authored
Release Version 2.4.2 candidate (#72)
* Release Version 2.4.2 candidate
1 parent c622e87 commit eee01d4

File tree

5 files changed

+49
-4
lines changed

5 files changed

+49
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# contracts
22
Java Dependency Contracts for dependency inversion
33

4-
Separates the consumption of an API from its implementation by using a 'Contract'
4+
### Separates the API from its implementation by using a Contract.
55

6+
A core java library for dependency inversion, Dependency injection, Inversion of Control,
7+
Solid Principles: Single responsibility, Open-closed, Liskov substitution, Interface segregation, Dependency inversion.
8+
OpenSSF Best Practices. Java Module Support. Strong data encapsulation.
69
```
710
// Authoring
811
public static final Contact<String> WEATHER = Contract.create("Current Weather");
@@ -26,7 +29,7 @@ String weather = GlobalContracts.claimContract(WEATHER);
2629
[![Javadoc Badge](https://raw.githubusercontent.com/jonloucks/contracts/refs/heads/badges/main-javadoc.svg)](https://jonloucks.github.io/contracts/javadoc/)
2730

2831
## Goals
29-
1. Separate the consumption of an API from the implementation details.
32+
1. Solid Principles
3033
2. Security
3134
3. Encapsulation
3235
4. Use anywhere, anytime across many code bases

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ plugins {
1414

1515
apply from: "${rootDir}/gradle/java-publishing.gradle"
1616

17+
defaultTasks 'check', 'jacocoTestReport', 'jacocoTestCoverageVerification', 'spotbugsMain', 'publishToMavenLocal'
18+
1719
repositories {
1820
mavenLocal()
1921
mavenCentral()

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
group=io.github.jonloucks.contracts
2-
version=2.4.1
2+
version=2.4.2

gradle/java-publishing.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,15 @@ publishing {
4949
from components.java
5050
pom {
5151
name = 'Contracts'
52-
description = 'Java Dependency Contracts for dependency inversion.'
52+
description = 'Contracts a core java library for dependency inversion, Dependency injection, Inversion of Control,' +
53+
' Solid Principles: Single responsibility, Open-closed, Liskov substitution, Interface segregation, Dependency inversion.' +
54+
' OpenSSF Best Practices. Java Module Support. Strong data encapsulation.'
5355
url = 'https://github.com/jonloucks/contracts'
56+
inceptionYear = '2025'
57+
organization {
58+
name = 'io.github.jonloucks'
59+
url = 'https://github.com/jonloucks'
60+
}
5461
licenses {
5562
license {
5663
name = 'MIT License'
@@ -69,6 +76,10 @@ publishing {
6976
developerConnection = 'scm:git:ssh://github.com:jonloucks/contracts.git'
7077
url = 'https://github.com/jonloucks/contracts'
7178
}
79+
issueManagement {
80+
name = 'Contracts Github Issues'
81+
url = 'https://github.com/jonloucks/contracts/issues'
82+
}
7283
}
7384
}
7485
}

notes/release-notes-v2.4.2.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contracts v2.4.2
2+
3+
Documentation and publication changes only
4+
5+
## Customer impact
6+
* Hoping new customers will have better luck finding publication on Maven Central
7+
8+
## Forked Repositories Impact
9+
* None
10+
11+
## 🚀 New Features
12+
13+
* Feature: None
14+
15+
## ✨ Improvements
16+
17+
* Performance:
18+
* Compatibility:
19+
* Documentation:
20+
21+
## 🐛 Bug Fixes
22+
23+
* None
24+
25+
## ⬇️ Download
26+
27+
* [MVN Repository](https://mvnrepository.com/artifact/io.github.jonloucks.contracts/contracts/2.4.2)
28+
* [Source code (zip)](https://github.com/jonloucks/contracts/archive/refs/tags/v2.4.2.zip)
29+
* [Source code (tar.gz)](https://github.com/jonloucks/contracts/archive/refs/tags/v2.4.2.tar.gz)

0 commit comments

Comments
 (0)