Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 28 additions & 12 deletions refactor-first-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,32 +1,48 @@
plugins {
id 'java'
id 'java-gradle-plugin'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'com.gradleup.shadow' version '9.1.0'
}

group = 'org.hjug.refactorfirst.plugin'
version = '0.7.2-SNAPSHOT'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}

repositories {
mavenLocal()
mavenCentral()
maven { url 'target/dependencies' }
mavenLocal()
}

dependencies {
compileOnly gradleApi()
// api "org.hjug.refactorfirst.graphdatagenerator:graph-data-generator:${version}"
implementation 'org.hjug.refactorfirst.report:report:0.7.2-SNAPSHOT'
}

jar {
manifest {
attributes 'Main-Class': 'org.hjug.gradlereport.RefactorFirstPlugin',
'Implementation-Title': 'RefactorFirstPlugin',
'Implementation-Version': version
}
}

pluginBundle {
website = 'https://github.com/jimbethancourt/RefactorFirst'
vcsUrl = 'https://github.com/jimbethancourt/RefactorFirst.git'
tags = ['refactor', 'report']
shadowJar {
minimizeJar = true
}

gradlePlugin {
plugins {
refactorFirstPlugin {
id = 'org.hjug.refactor-first'
displayName = 'RefactorFirst'
description = 'Plugin that identifies God classes in a codebase and suggests which classes should be refactored first.'
plugins {
refactorFirstPlugin {
id = 'org.hjug.refactor-first'
displayName = 'RefactorFirst'
description = 'Plugin that identifies God classes in a codebase and suggests which classes should be refactored first.'
implementationClass = 'org.hjug.gradlereport.RefactorFirstPlugin'
}
}
Expand Down
Binary file modified refactor-first-gradle-plugin/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStorePath=wrapper/dists
Loading