Skip to content

Commit

Permalink
don't apply gr8 and best practices plugin by default (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielittner committed Feb 2, 2024
1 parent c1a2365 commit b7e222f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 67 deletions.
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ dependency-analysis = { module = "com.autonomousapps:dependency-analysis-gradle-
gradle-enterprise = { module = "com.gradle:gradle-enterprise-gradle-plugin", version.ref = "gradle-enterprise" }
gradle-toolchain = { module = "org.gradle.toolchains:foojay-resolver", version.ref = "gradle-toolchain" }

gr8 = { module = "com.gradleup:gr8-plugin", version.ref = "gr8" }
publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "publish"}

clikt = { module = "com.github.ajalt.clikt:clikt-jvm", version.ref = "clikt" }
Expand Down
1 change: 0 additions & 1 deletion plugins/plugins.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies {
compileOnly(libs.moshix.gradle)
compileOnly(libs.paparazzi.gradle)
compileOnly(libs.dependency.analysis)
compileOnly(libs.gr8)
compileOnly(libs.publish)
compileOnly(libs.licensee)
compileOnly(libs.crashlytics)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.freeletics.gradle.plugin

import com.freeletics.gradle.setup.setupGr8
import com.freeletics.gradle.util.getDependency
import com.freeletics.gradle.util.kotlin
import org.gradle.api.Plugin
import org.gradle.api.Project
Expand All @@ -12,17 +10,11 @@ public abstract class FreeleticsGradlePluginPlugin : Plugin<Project> {
target.plugins.apply("java-gradle-plugin")
target.plugins.apply(FreeleticsJvmPlugin::class.java)
target.plugins.apply("com.gradleup.gr8")
target.plugins.apply("com.autonomousapps.plugin-best-practices-plugin")

target.kotlin {
compilerOptions {
freeCompilerArgs.add("-Xsam-conversions=class")
}
}

target.setupGr8()

target.dependencies.add("compileOnly", target.getDependency("gradle-api"))
target.dependencies.add("shade", target.getDependency("kotlin-stdlib"))
}
}
57 changes: 0 additions & 57 deletions plugins/src/main/kotlin/com/freeletics/gradle/setup/Gr8Setup.kt

This file was deleted.

0 comments on commit b7e222f

Please sign in to comment.