-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget | ||
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion | ||
|
||
plugins { | ||
kotlin("jvm") version "2.0.21" | ||
`java-gradle-plugin` | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlin { | ||
explicitApi() | ||
compilerOptions { | ||
// https://docs.gradle.org/current/userguide/compatibility.html#kotlin | ||
apiVersion = KotlinVersion.KOTLIN_1_8 | ||
jvmTarget = JvmTarget.JVM_1_8 | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation("org.jdom:jdom2:2.0.6.1") | ||
implementation("org.ow2.asm:asm-commons:9.7.1") | ||
implementation("commons-io:commons-io:2.17.0") | ||
implementation("org.apache.ant:ant:1.10.15") | ||
implementation("org.codehaus.plexus:plexus-utils:4.0.2") | ||
implementation("org.codehaus.plexus:plexus-xml:4.0.4") | ||
implementation("org.apache.logging.log4j:log4j-core:2.24.1") | ||
implementation("org.vafer:jdependency:2.11") | ||
} |
13 changes: 13 additions & 0 deletions
13
api/src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/legacy/LegacyShadowPlugin.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.github.jengelman.gradle.plugins.shadow.legacy | ||
|
||
import org.gradle.api.Plugin | ||
import org.gradle.api.Project | ||
|
||
/** | ||
* Empty plugin to still have the `com.github.johnrengelman.shadow` plugin applied. | ||
* | ||
* This allows older build logic to keep on working as if that old plugin ID was applied. | ||
*/ | ||
public class LegacyShadowPlugin : Plugin<Project> { | ||
override fun apply(project: Project): Unit = Unit | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters