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

View file

@ -1,9 +1,6 @@
plugins { plugins {
id 'java' id 'java'
id 'org.jetbrains.kotlin.jvm' id 'org.jetbrains.kotlin.jvm'
id 'maven'
id 'com.jfrog.bintray'
id 'jacoco'
} }
dependencies { dependencies {
@ -18,25 +15,3 @@ dependencies {
implementation "com.squareup.retrofit2:retrofit:$retrofit" implementation "com.squareup.retrofit2:retrofit:$retrofit"
implementation "com.squareup.retrofit2:adapter-rxjava2:$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 { plugins {
id 'java' id 'java'
id 'org.jetbrains.kotlin.jvm' id 'org.jetbrains.kotlin.jvm'
id 'maven'
id 'com.jfrog.bintray'
id 'jacoco'
} }
dependencies { dependencies {
@ -22,25 +19,3 @@ dependencies {
implementation "org.slf4j:slf4j-api:$slf4j" implementation "org.slf4j:slf4j-api:$slf4j"
testImplementation "org.slf4j:slf4j-simple:$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