1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-twitter4j

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
build.gradle 1.9 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Yusuke Yamamoto Отправлено 27.10.2022 05:07 d899f3f
plugins {
id 'java'
id 'signing'
id 'maven-publish'
}
group 'org.twitter4j'
version '4.1.2'
repositories {
mavenCentral()
}
java {
withJavadocJar()
withSourcesJar()
}
compileJava {
sourceCompatibility = '17'
targetCompatibility = '17'
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'twitter4j'
from components.java
pom {
name = 'twitter4j'
description = 'twitter4j'
url = 'https://github.com/Twitter4J/Twitter4J'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'yusuke'
name = 'Yusuke Yamamoto'
email = 'yusuke@mac.com'
}
}
scm {
url = 'https://github.com/Twitter4J/Twitter4J/'
connection = 'scm:git:git://github.com/Twitter4J/Twitter4J.git'
developerConnection = 'scm:git:git@github.com:Twitter4J/Twitter4J.git'
}
}
}
}
repositories {
maven {
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = project.properties['SONATYPE_USERNAME'] ?: "none"
password = project.properties['SONATYPE_PASSWORD'] ?: "none"
}
}
}
}
signing {
sign publishing.publications.mavenJava
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-twitter4j.git
git@api.gitlife.ru:oschina-mirror/mirrors-twitter4j.git
oschina-mirror
mirrors-twitter4j
mirrors-twitter4j
main