mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 05:36:05 +08:00
Fix eclipse gradle support
This commit is contained in:
parent
ae00ab2dca
commit
0387992c42
10
build.gradle
10
build.gradle
@ -23,6 +23,8 @@ plugins {
|
|||||||
id 'com.google.protobuf' version "0.8.18"
|
id 'com.google.protobuf' version "0.8.18"
|
||||||
id 'idea'
|
id 'idea'
|
||||||
|
|
||||||
|
id 'eclipse'
|
||||||
|
|
||||||
// Apply the application plugin to add support for building a CLI application
|
// Apply the application plugin to add support for building a CLI application
|
||||||
id 'application'
|
id 'application'
|
||||||
|
|
||||||
@ -189,6 +191,14 @@ idea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eclipse {
|
||||||
|
classpath {
|
||||||
|
file.whenMerged { cp ->
|
||||||
|
cp.entries.add( new org.gradle.plugins.ide.eclipse.model.SourceFolder('src/generated/main/java', null) )
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
signing {
|
signing {
|
||||||
sign publishing.publications.mavenJava
|
sign publishing.publications.mavenJava
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user