let's separate Android from not Android

This commit is contained in:
rusefillc 2022-10-15 17:57:12 -04:00
parent 32c955df3d
commit e17264afe6
4 changed files with 8 additions and 7 deletions

1
java_tools/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.gradle

View File

@ -4,10 +4,10 @@ plugins {
defaultTasks 'jar' defaultTasks 'jar'
apply from: '../../android/dependencies.gradle' apply from: '../../java_tools/dependencies.gradle'
dependencies { dependencies {
testImplementation libs.junit testImplementation global_libs.junit
} }
jar { jar {

View File

@ -8,14 +8,14 @@ defaultTasks 'shadowJar'
apply from: '../../android/dependencies.gradle' apply from: '../../android/dependencies.gradle'
dependencies { dependencies {
implementation libs.annotations implementation global_libs.annotations
implementation ts_plugin_libs.httpcore implementation ts_plugin_libs.httpcore
implementation ts_plugin_libs.httpmime implementation ts_plugin_libs.httpmime
implementation project(':autoupdate') implementation project(':autoupdate')
implementation ts_plugin_libs.launcher_api implementation ts_plugin_libs.launcher_api
implementation libs.commons_logging implementation libs.commons_logging
testImplementation libs.junit testImplementation global_libs.junit
} }
def TODAY = new Date().format('yyyy-MM-dd HH:mm:ss') def TODAY = new Date().format('yyyy-MM-dd HH:mm:ss')
@ -54,8 +54,8 @@ shadowJar {
dependencies in resulting jar dependencies in resulting jar
*/ */
dependencies { dependencies {
exclude(dependency(libs.junit)) exclude(dependency(global_libs.junit))
exclude(dependency(libs.annotations)) exclude(dependency(global_libs.annotations))
exclude(dependency(ts_plugin_libs.launcher_api)) exclude(dependency(ts_plugin_libs.launcher_api))
} }
} }

View File

@ -7,7 +7,7 @@ defaultTasks 'jar'
apply from: '../../android/dependencies.gradle' apply from: '../../android/dependencies.gradle'
dependencies { dependencies {
testImplementation libs.junit testImplementation global_libs.junit
} }
jar { jar {