Skip to content

Commit 3bb00d4

Browse files
committed
Add shadow to include multimodule dependencies inside plugin
Release 0.3.0
1 parent 394e23e commit 3bb00d4

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/xyz.mishkun.lobzik?style=flat-square&versionPrefix=0.3&versionSuffix=.0)
2+
13
# Lobzik: Continuous Modularisation Toolkit
24

35
Lobzik is a gradle plugin designed to help Android developers chop their monolithic codebases into smaller pieces. This
@@ -16,7 +18,7 @@ To use Lobzik, add the following to your root `build.gradle.kts`:
1618

1719
```kotlin
1820
plugins {
19-
id("xyz.mishkun.lobzik") version "<lobzikVersion>"
21+
id("xyz.mishkun.lobzik") version "0.3.0"
2022
}
2123
```
2224

build.gradle.kts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+
13
plugins {
24
kotlin("jvm") version "1.7.21"
35
id("com.gradle.plugin-publish") version "1.2.0"
6+
id("com.github.johnrengelman.shadow") version "8.1.1"
47
}
58

69
group = "xyz.mishkun.lobzik"
7-
version = "0.1.0"
10+
version = "0.3.0"
811

912
repositories {
1013
mavenCentral()
@@ -36,7 +39,7 @@ val VERSION_ASM = "9.4"
3639
dependencies {
3740
implementation(gradleApi())
3841
implementation(gradleKotlinDsl())
39-
implementation(project(":graph-processing"))
42+
implementation(project(":graph-processing", "shadow"))
4043
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.10")
4144
implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.7.0")
4245
implementation("com.android.tools.build:gradle-api:7.3.1")
@@ -48,3 +51,8 @@ dependencies {
4851
tasks.test {
4952
useJUnitPlatform()
5053
}
54+
55+
tasks.named<ShadowJar>("shadowJar") {
56+
archiveClassifier.set("")
57+
this.isZip64 = true
58+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

graph-processing/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
kotlin("jvm")
3+
id("com.github.johnrengelman.shadow") version "8.1.1"
34
}
45

56
repositories {

0 commit comments

Comments
 (0)