Move sources to module
This commit is contained in:
parent
570fa4d5f6
commit
d75cbdaf61
110 changed files with 80 additions and 74 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -25,8 +25,8 @@ hs_err_pid*
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
.gradle
|
.gradle
|
||||||
/build/
|
build/
|
||||||
/out/
|
out/
|
||||||
|
|
||||||
# Ignore Gradle GUI config
|
# Ignore Gradle GUI config
|
||||||
gradle-app.setting
|
gradle-app.setting
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -186,7 +186,7 @@
|
||||||
same "printed page" as the copyright notice for easier
|
same "printed page" as the copyright notice for easier
|
||||||
identification within third-party archives.
|
identification within third-party archives.
|
||||||
|
|
||||||
Copyright 2018 Wulkanowy
|
Copyright 2019 Wulkanowy
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
78
build.gradle
78
build.gradle
|
@ -1,75 +1,11 @@
|
||||||
plugins {
|
allprojects {
|
||||||
id 'java'
|
repositories {
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
|
mavenCentral()
|
||||||
id 'jacoco'
|
jcenter()
|
||||||
}
|
maven { url "https://jitpack.io" }
|
||||||
|
|
||||||
group 'io.github.wulkanowy'
|
|
||||||
version '0.1.0-SNAPSHOT'
|
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
jcenter()
|
|
||||||
maven { url "https://jitpack.io" }
|
|
||||||
}
|
|
||||||
|
|
||||||
ext {
|
|
||||||
okhttp3 = "3.12.5"
|
|
||||||
retrofit = "2.6.2"
|
|
||||||
threetenbp = "1.4.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
||||||
|
|
||||||
implementation "io.github.wulkanowy:api:02e3190"
|
|
||||||
implementation "io.github.wulkanowy:uonet-request-signer:6d7aebf0e9"
|
|
||||||
|
|
||||||
compileOnly "org.threeten:threetenbp:$threetenbp:no-tzdb"
|
|
||||||
testImplementation "org.threeten:threetenbp:$threetenbp"
|
|
||||||
|
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
|
||||||
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
|
||||||
implementation "com.squareup.retrofit2:converter-gson:$retrofit"
|
|
||||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofit"
|
|
||||||
|
|
||||||
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
|
||||||
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
|
|
||||||
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp3"
|
|
||||||
|
|
||||||
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3"
|
|
||||||
testImplementation "junit:junit:4.12"
|
|
||||||
}
|
|
||||||
|
|
||||||
compileKotlin {
|
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
|
||||||
}
|
|
||||||
compileTestKotlin {
|
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
|
||||||
}
|
|
||||||
|
|
||||||
jacocoTestReport {
|
|
||||||
reports {
|
|
||||||
xml.enabled true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
test {
|
|
||||||
testLogging.showStandardStreams = true
|
|
||||||
}
|
|
||||||
|
|
||||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
subprojects {
|
||||||
classifier = 'sources'
|
version = '0.1.0'
|
||||||
from sourceSets.main.allSource
|
|
||||||
}
|
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
||||||
classifier = 'javadoc'
|
|
||||||
from javadoc.destinationDir
|
|
||||||
}
|
|
||||||
|
|
||||||
artifacts {
|
|
||||||
archives sourcesJar
|
|
||||||
archives javadocJar
|
|
||||||
}
|
}
|
||||||
|
|
69
sdk/build.gradle
Normal file
69
sdk/build.gradle
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
|
||||||
|
id 'jacoco'
|
||||||
|
}
|
||||||
|
|
||||||
|
group 'io.github.wulkanowy'
|
||||||
|
version '0.1.0-SNAPSHOT'
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
ext {
|
||||||
|
okhttp3 = "3.12.5"
|
||||||
|
retrofit = "2.6.2"
|
||||||
|
threetenbp = "1.4.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
||||||
|
|
||||||
|
implementation "io.github.wulkanowy:api:02e3190"
|
||||||
|
implementation "io.github.wulkanowy:uonet-request-signer:6d7aebf0e9"
|
||||||
|
|
||||||
|
compileOnly "org.threeten:threetenbp:$threetenbp:no-tzdb"
|
||||||
|
testImplementation "org.threeten:threetenbp:$threetenbp"
|
||||||
|
|
||||||
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
|
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
||||||
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit"
|
||||||
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofit"
|
||||||
|
|
||||||
|
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
||||||
|
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
|
||||||
|
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp3"
|
||||||
|
|
||||||
|
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3"
|
||||||
|
testImplementation "junit:junit:4.12"
|
||||||
|
}
|
||||||
|
|
||||||
|
compileKotlin {
|
||||||
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
|
}
|
||||||
|
compileTestKotlin {
|
||||||
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
reports {
|
||||||
|
xml.enabled true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
test {
|
||||||
|
testLogging.showStandardStreams = true
|
||||||
|
}
|
||||||
|
|
||||||
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||||
|
classifier = 'sources'
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
}
|
||||||
|
|
||||||
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||||
|
classifier = 'javadoc'
|
||||||
|
from javadoc.destinationDir
|
||||||
|
}
|
||||||
|
|
||||||
|
artifacts {
|
||||||
|
archives sourcesJar
|
||||||
|
archives javadocJar
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue