Skip to content

Commit

Permalink
Merge pull request #4 from LikeTheSalad/release/2.2.0
Browse files Browse the repository at this point in the history
Release/2.2.0
  • Loading branch information
LikeTheSalad authored Jan 6, 2024
2 parents a77de88 + de820a6 commit b4929a1
Show file tree
Hide file tree
Showing 18 changed files with 243 additions and 249 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 2.2.0
---

* Updating utilities.

Version 2.1.0
---

Expand Down
15 changes: 3 additions & 12 deletions android-resource-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm'
alias(libs.plugins.java.library)
}

dependencies {
api project(":resource-api")
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testImplementation "com.likethesalad.tools.testing:unit-testing:$testingUtilities_version"
}

compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
testImplementation libs.unitTesting
testImplementation libs.kotlin.reflect
}
21 changes: 10 additions & 11 deletions android-resource-collector/build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm'
alias(libs.plugins.java.library)
id 'kotlin-kapt'
}

dependencies {
api project(':resource-collector')
implementation "com.likethesalad.tools:android-tools-plugin:$androidTools_version"
implementation project(':android-resource-api')
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compileOnly "com.google.dagger:dagger:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"
testImplementation "com.likethesalad.tools.testing:unit-testing:$testingUtilities_version"
implementation libs.androidCompatApi
embedded libs.dagger
kapt libs.dagger.compiler
testImplementation libs.unitTesting
testImplementation gradleApi()
}

compileKotlin {
kotlinOptions.jvmTarget = "1.8"
shadowExtension {
relocate("dagger", "${group}.resourcecollector.dagger")
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"

libConventions {
setJavaVersion("11")
}

kapt {
Expand Down
21 changes: 6 additions & 15 deletions android-resource-locator-test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
plugins {
alias(libs.plugins.java.library)
alias(libs.plugins.androidTestTools)
id 'java-gradle-plugin'
id 'org.jetbrains.kotlin.jvm'
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation project(':string-android-resource-locator')
compileOnly("com.android.tools.build:gradle:3.3.3")
compileOnly "com.google.dagger:dagger:$dagger_version"
testImplementation "com.likethesalad.tools.testing:android-gradle:$testingUtilities_version"
testPluginClasspath "com.android.tools.build:gradle:7.4.0"
testPluginClasspath libs.dagger
}

tasks.withType(PluginUnderTestMetadata).configureEach {
pluginClasspath.from(configurations.compileOnly)
libConventions {
setJavaVersion("11")
}

gradlePlugin {
Expand All @@ -22,14 +21,6 @@ gradlePlugin {
implementationClass = 'com.likethesalad.tools.resource.locator.android.test.TestAndroidResourceLocatorPlugin'
}
}
automatedPublishing = false
}

compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

artifactPublisherTarget {
Expand Down
Loading

0 comments on commit b4929a1

Please sign in to comment.