You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewGradleException("The project '${proj.path}' has a dependency to the outputs of project '${project.path}', but not to the project itself. This is not allowed because it will cause compilation in eclipse to behave differently than in gradle.")
58
+
}
59
+
}
60
+
}
61
+
}
62
+
}
63
+
}
64
+
}
65
+
}
66
+
}
67
+
68
+
sourceSets {
69
+
// Note that just declaring this source set creates two configurations.
70
+
api {
71
+
java {
72
+
73
+
}
74
+
}
75
+
main {
76
+
java {
77
+
compileClasspath += api.output
78
+
runtimeClasspath += api.output
79
+
}
80
+
}
81
+
}
82
+
32
83
minecraft {
33
84
// The mappings can be changed at any time and must be in the following format.
34
85
// Channel: Version:
@@ -144,6 +195,12 @@ repositories {
144
195
// }
145
196
}
146
197
198
+
configurations {
199
+
apiImplementation.extendsFrom(implementation)
200
+
apiCompileOnly.extendsFrom(compileOnly)
201
+
apiRuntimeOnly.extendsFrom(runtimeOnly)
202
+
}
203
+
147
204
dependencies {
148
205
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft' it is assumed
149
206
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
0 commit comments