Skip to content

Commit

Permalink
Update LICENSE.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeffian committed Jul 7, 2021
1 parent 3b19f54 commit 65fca4d
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
File renamed without changes.
45 changes: 45 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java'
id 'maven-publish'
}

group 'io.github.yeffycodegit'
Expand All @@ -20,6 +21,50 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.7'
}

publishing {
publications {
maven(MavenPublication) {
groupId = 'io.github.yeffycodegit'
artifactId = 'library'
version = '1.1'

from components.java
}
}
}

publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'pastemyst.java' as Publication
description = 'A Java API Wrapper for the Pastemyst V2 API' as Publication
url = 'https://github.com/YeffyCodeGit/pastemyst.java'

licenses {
license {
name = 'MIT License'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}

developers {
developer {
id = 'johnd'
name = 'John Doe'
email = 'john.doe@example.com'
}
}
scm {
connection = 'scm:git:git://example.com/my-library.git'
developerConnection = 'scm:git:ssh://example.com/my-library.git'
url = 'http://example.com/my-library/'
}
}
}
}
}

test {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package io.github.yeffycodegit.pastemystjava.core;

public class PastemystEndpoints {
public static final String PASTE_ENDPOINT = PastemystApi.BASE_ENDPOINT + PastemystApi.PASTE;
public static final String DATA_ENDPOINT = PastemystApi.BASE_ENDPOINT + PastemystApi.DATA;
public static final String TIME_ENDPOINT = PastemystApi.BASE_ENDPOINT + PastemystApi.TIME;
public static final String USER_ENDPOINT = PastemystApi.BASE_ENDPOINT + PastemystApi.USER;
}

0 comments on commit 65fca4d

Please sign in to comment.