-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial start porting to tableau, testing environment for new IDEA PR
- Loading branch information
1 parent
c998ba4
commit b489ffe
Showing
6 changed files
with
119 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,64 @@ | ||
apply from: 'https://raw.githubusercontent.com/ldtteam/OperaPublicaCreator/ng7/gradle/mod.gradle' | ||
/*tableau { | ||
mod { | ||
modId = "domum_ornamentum" | ||
minecraftVersion = "1.21.1" | ||
publisher = "LDTTeam" | ||
url = "https://github.com/ldtteam/domum-ornamentum" | ||
} | ||
sourceSets { | ||
testing { | ||
neo | ||
} | ||
} | ||
}*/ | ||
|
||
import org.gradle.api.provider.Property | ||
import org.gradle.api.NamedDomainObjectContainer | ||
|
||
abstract class InnerExtension implements ExtensionAware { | ||
abstract Property<String> getInnerProperty(); | ||
} | ||
|
||
abstract class NDOCElement implements ExtensionAware, Named { | ||
|
||
private final String name; | ||
|
||
@Inject | ||
NDOCElement(String name) { | ||
this.name = name | ||
} | ||
|
||
abstract Property<String> getNDOCProperty(); | ||
|
||
String getName() { | ||
return name | ||
} | ||
} | ||
|
||
abstract class ProjectLevelExtension implements ExtensionAware { | ||
|
||
abstract Property<String> getOuterProperty(); | ||
|
||
abstract NamedDomainObjectContainer<NDOCElement> getElements(); | ||
} | ||
|
||
project.extensions.create("projectExtension", ProjectLevelExtension) as ProjectLevelExtension | ||
project.projectExtension.extensions.create("inner", InnerExtension) as InnerExtension | ||
|
||
projectExtension.getElements().configureEach {element -> element.extensions.create("innerElement", InnerExtension)} | ||
|
||
projectExtension { | ||
elements { | ||
someElement { | ||
NDOCProperty = "Something" | ||
} | ||
} | ||
|
||
outerProperty = "Something" | ||
|
||
inner { | ||
innerProperty = "detected" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
org.gradle.jvmargs=-Xmx3G | ||
org.gradle.daemon=true | ||
org.gradle.parallel=true | ||
org.gradle.caching=true | ||
org.gradle.configuration-cache=true | ||
|
||
modGroup=com.ldtteam | ||
modVersion=1.0.0 | ||
modId=domum_ornamentum | ||
|
||
forgeVersion=21.1.4 | ||
minecraftVersion=1.21.1 | ||
|
||
exactMinecraftVersion=1.21.1 | ||
additionalMinecraftVersions=1.21 | ||
|
||
jei_mcversion=1.21 | ||
jei_version=19.8.2.99 | ||
|
||
librarySourceSets=api;main;datagen; | ||
|
||
dataGeneratorsVersion=1.20.4-0.1.57-ALPHA | ||
usesDatagen=true | ||
|
||
githubUrl=https://github.com/ldtteam/Domum-Ornamentum | ||
gitUrl=https://github.com/ldtteam/Domum-Ornamentum.git | ||
gitConnectUrl=https://github.com/ldtteam/Domum-Ornamentum.git | ||
projectUrl=https://github.com/ldtteam/Domum-Ornamentum | ||
|
||
curseId=527361 | ||
usesCurse=true | ||
|
||
javaVersion=21 | ||
useJavaToolChains=true | ||
|
||
usesParchment=true | ||
parchmentMinecraftVersion=1.21 | ||
parchmentMappingsVersion=2024.07.28 | ||
|
||
usesResourceDataExpansionFromProjectKeys=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,7 @@ | ||
org.gradle.jvmargs=-Xmx3G | ||
org.gradle.daemon=true | ||
org.gradle.parallel=true | ||
org.gradle.caching=true | ||
org.gradle.configuration-cache=true | ||
org.gradle.jvmargs=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006 -Xmx3G | ||
|
||
modGroup=com.ldtteam | ||
modVersion=1.0.0 | ||
modId=domum_ornamentum | ||
|
||
forgeVersion=21.1.4 | ||
minecraftVersion=1.21.1 | ||
|
||
exactMinecraftVersion=1.21.1 | ||
additionalMinecraftVersions=1.21 | ||
|
||
jei_mcversion=1.21 | ||
jei_version=19.8.2.99 | ||
|
||
librarySourceSets=api;main;datagen; | ||
|
||
dataGeneratorsVersion=1.20.4-0.1.57-ALPHA | ||
usesDatagen=true | ||
|
||
githubUrl=https://github.com/ldtteam/Domum-Ornamentum | ||
gitUrl=https://github.com/ldtteam/Domum-Ornamentum.git | ||
gitConnectUrl=https://github.com/ldtteam/Domum-Ornamentum.git | ||
projectUrl=https://github.com/ldtteam/Domum-Ornamentum | ||
|
||
curseId=527361 | ||
usesCurse=true | ||
|
||
javaVersion=21 | ||
useJavaToolChains=true | ||
|
||
usesParchment=true | ||
parchmentMinecraftVersion=1.21 | ||
parchmentMappingsVersion=2024.07.28 | ||
|
||
usesResourceDataExpansionFromProjectKeys=false | ||
property=test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
pluginManagement { | ||
repositories { | ||
mavenLocal() | ||
gradlePluginPortal() | ||
maven { | ||
name = 'MinecraftForge' | ||
url = 'https://maven.minecraftforge.net/' | ||
url = uri('https://ldtteam.jfrog.io/artifactory/tableau/') | ||
name = 'Tableau' | ||
} | ||
} | ||
|
||
//includeBuild('../Tableau') | ||
} | ||
|
||
plugins { | ||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.5.0' | ||
//id 'com.ldtteam.tableau' version '1.0.0-SNAPSHOT' | ||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' | ||
} | ||
|
||
rootProject.name = 'domum-ornamentum' | ||
|