Rename modules

This commit is contained in:
Mikołaj Pich 2019-12-23 19:19:30 +01:00
parent 4ad8da78b0
commit cfbed19894
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
271 changed files with 55 additions and 123 deletions

View file

@ -22,38 +22,48 @@ allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: 'com.jfrog.bintray'
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
version = PUBLISH_VERSION
group = "io.github.wulkanowy.sdk"
install {
repositories.mavenInstaller {
pom {
project {
packaging 'aar'
name 'SDK for VULCAN UONET+'
url SITE_URL
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'mklkj'
name 'Mikołaj Pich'
email 'm.pich@outlook.com'
}
}
scm {
connection GIT_URL
developerConnection GIT_URL
url SITE_URL
}
}
group = "io.github.wulkanowy"
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
configurations = ['archives']
pkg {
repo = 'wulkanowy'
name = 'sdk'
desc = 'Unified way of retrieving data from the UONET+ register through mobile api and scraping api'
websiteUrl = 'https://github.com/wulkanowy/sdk'
issueTrackerUrl = 'https://github.com/wulkanowy/sdk/issues'
vcsUrl = 'https://github.com/wulkanowy/sdk.git'
licenses = ['Apache-2.0']
userOrg = 'wulkanowy'
labels = ['wulkanowy', 'sdk']
publicDownloadNumbers = true
publish = true
version {
name = PUBLISH_VERSION
vcsTag = PUBLISH_VERSION
released = new Date()
}
}
}
}
subprojects {
apply plugin: 'maven'
apply plugin: 'jacoco'
ktlint {
additionalEditorconfigFile = file(".editorconfig")
@ -73,12 +83,6 @@ allprojects {
}
}
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
@ -102,18 +106,21 @@ allprojects {
testLogging.showStandardStreams = false
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
if (project.plugins.hasPlugin('java')) {
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
archives javadocJar
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
}
}

View file

@ -1,9 +1,6 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
id 'maven'
id 'com.jfrog.bintray'
id 'jacoco'
}
dependencies {
@ -18,25 +15,3 @@ dependencies {
implementation "com.squareup.retrofit2:retrofit:$retrofit"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
configurations = ['archives']
pkg {
repo = 'wulkanowy'
name = 'mobile'
userOrg = 'wulkanowy'
licenses = ['Apache-2.0']
vcsUrl = GIT_URL
labels = ['wulkanowy', 'sdk']
publicDownloadNumbers = true
publish = true
version {
name = PUBLISH_VERSION
vcsTag = PUBLISH_VERSION
released = new Date()
}
}
}

View file

@ -1,9 +1,6 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
id 'maven'
id 'com.jfrog.bintray'
id 'jacoco'
}
dependencies {
@ -22,25 +19,3 @@ dependencies {
implementation "org.slf4j:slf4j-api:$slf4j"
testImplementation "org.slf4j:slf4j-simple:$slf4j"
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
configurations = ['archives']
pkg {
repo = 'wulkanowy'
name = 'scrapper'
userOrg = 'wulkanowy'
licenses = ['Apache-2.0']
vcsUrl = GIT_URL
labels = ['wulkanowy', 'sdk']
publicDownloadNumbers = true
publish = true
version {
name = PUBLISH_VERSION
vcsTag = PUBLISH_VERSION
released = new Date()
}
}
}

Some files were not shown because too many files have changed in this diff Show more