Skip to content

Commit c356468

Browse files
committed
Switch back to using jetbrains as the toolchain target as it can now be resolved, and also do a bit of minor gradle cleanup
1 parent 558f9e2 commit c356468

File tree

4 files changed

+189
-202
lines changed

4 files changed

+189
-202
lines changed

annotation-processor/build.gradle

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,21 @@ java.toolchain.languageVersion = JavaLanguageVersion.of("${java_version}")
88

99
repositories {
1010
def repo = maven {
11-
name 'CraftTweaker'
12-
url 'https://maven.blamejared.com'
11+
name = 'CraftTweaker'
12+
url = 'https://maven.blamejared.com'
1313
}
1414
exclusiveContent {
1515
forRepositories(repo)
16-
filter { InclusiveRepositoryContentDescriptor f ->
17-
f.includeGroup 'com.blamejared.crafttweaker'
18-
f.includeGroup 'org.openzen.zencode'
16+
filter {
17+
includeGroup('org.openzen.zencode')
1918
}
2019
}
2120
mavenCentral()
2221
}
2322

2423
dependencies {
25-
implementation "org.openzen.zencode:JavaAnnotations:0.3.8"
24+
implementation('org.openzen.zencode:JavaAnnotations:0.3.8')
2625
//Version of GSON used by vanilla (and thus packed and already downloaded)
27-
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
28-
implementation "com.squareup:javapoet:1.13.0"
26+
implementation('com.google.code.gson:gson:2.10.1')
27+
implementation('com.squareup:javapoet:1.13.0')
2928
}

0 commit comments

Comments
 (0)