Skip to content
Merged
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
27 changes: 26 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,43 @@
plugins {
id 'net.ltgt.errorprone' version '4.3.0' apply false
id 'com.diffplug.spotless' version '7.2.1' apply false
id 'java'
}

subprojects {
repositories {
mavenCentral()
}

// TODO: better spotless integration to support groovy etc...
apply plugin: 'com.diffplug.spotless'
plugins.withId('java') {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}

spotless {
java {
googleJavaFormat('1.22.0')
}
}
}
}

allprojects {
apply plugin: 'eclipse'
eclipse.classpath {
defaultOutputDir = file("build/default")
file.whenMerged { cp ->
cp.entries.forEach { cpe ->
if (cpe instanceof org.gradle.plugins.ide.eclipse.model.SourceFolder) {
cpe.output = cpe.output.replace "bin/", "build/classes/java/"
}
if (cpe instanceof org.gradle.plugins.ide.eclipse.model.Output) {
cpe.path = cpe.path.replace "bin/", "build/"
}
}
}
}
}
1 change: 0 additions & 1 deletion framework/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id 'java'
id 'net.ltgt.errorprone'
id 'com.diffplug.spotless'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package io.github.eisop.runtimeframework.agent;

import java.lang.instrument.Instrumentation;

public class RuntimeAgent {
public static void premain(String args, java.lang.instrument.Instrumentation inst) {
System.out.println("Agent Initialized");
}
public static void premain(String args, java.lang.instrument.Instrumentation inst) {
System.out.println("Agent Initialized");
}
}