Skip to content

Commit 1738de1

Browse files
Merge pull request #4 from stripe/raubrey/publishing-prep
Prepare license, updated build + settings, add experimental disclaimer
2 parents 9896f13 + d97235f commit 1738de1

4 files changed

Lines changed: 36 additions & 17 deletions

File tree

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Stripe, LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
# MPP Java SDK POC
1+
# mpp-java
22

3-
Java 11 proof-of-concept SDK for the [Machine Payments Protocol](https://mpp.dev).
3+
Java SDK for the [**Machine Payments Protocol**](https://mpp.dev)
44

5-
## Install
5+
> **Note:** This is an experimental SDK and the API is subject to change.
66
7-
```groovy
8-
dependencies {
9-
implementation "io.github.raubrey2014:mpp-java-poc:0.1.0"
10-
}
11-
```
7+
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
8+
9+
## Usage
1210

13-
## Tempo
11+
### Tempo
1412

1513
The `currency` parameter must be the token contract address — the server verifies it against
1614
the ERC-20 Transfer logs in the transaction receipt. On testnet (Moderato) this is PATH_USD;
@@ -48,7 +46,7 @@ The endpoint can be tested using the [Tempo CLI](https://mpp.dev):
4846
tempo request https://your-api.com/your-endpoint
4947
```
5048

51-
## Tempo + Stripe
49+
### Tempo + Stripe
5250

5351
`networkId` is an arbitrary identifier sent to the client in the Stripe challenge so it knows
5452
which Stripe profile to pay. Use your Stripe profile or network ID (e.g. `STRIPE_PROFILE_ID`).

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'maven-publish'
44
}
55

6-
group = 'io.github.raubrey2014'
6+
group = 'com.stripe'
77
version = '0.1.0'
88

99
java {
@@ -64,12 +64,12 @@ publishing {
6464
publications {
6565
mavenJava(MavenPublication) {
6666
from components.java
67-
artifactId = 'mpp-java-poc'
67+
artifactId = 'mpp-java'
6868

6969
pom {
70-
name = 'MPP Java SDK POC'
71-
description = 'Proof-of-concept Java SDK for the Machine Payments Protocol (MPP)'
72-
url = 'https://github.com/raubrey2014/mpp-java-poc'
70+
name = 'MPP Java SDK'
71+
description = 'Java SDK for the Machine Payments Protocol (MPP)'
72+
url = 'https://github.com/stripe/mpp-java'
7373

7474
licenses {
7575
license {
@@ -84,7 +84,7 @@ publishing {
8484
repositories {
8585
maven {
8686
name = 'GitHubPackages'
87-
url = uri('https://maven.pkg.github.com/raubrey2014/mpp-java-poc')
87+
url = uri('https://maven.pkg.github.com/stripe/mpp-java')
8888
credentials {
8989
username = project.findProperty('gpr.user') ?: System.getenv('GITHUB_ACTOR')
9090
password = project.findProperty('gpr.key') ?: System.getenv('GITHUB_TOKEN')

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootProject.name = 'mpp-java-poc'
1+
rootProject.name = 'mpp-java'

0 commit comments

Comments
 (0)