Make repo ready for CI
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Timo Ley 2022-04-08 22:02:24 +02:00
parent c41fb8f795
commit 0ea3fd1efb
4 changed files with 34 additions and 0 deletions

1
.gitignore vendored
View file

@ -14,6 +14,7 @@
!README.md
!LICENSE
!CONTRIBUTING.md
!CHANGELOG.md
# include sourcecode
!src/

3
CHANGELOG.md Normal file
View file

@ -0,0 +1,3 @@
- Added things from AE1
- Added LogisticPipes integration
- Added config to disably type limit

View file

@ -17,12 +17,14 @@
*/
apply plugin: 'forge'
apply plugin: 'maven-publish'
apply from: 'gradle/scripts/dependencies.gradle'
apply from: 'gradle/scripts/artifacts.gradle'
apply from: 'gradle/scripts/autoinstallruntime.gradle'
apply from: 'gradle/scripts/integration.gradle'
apply from: 'gradle/scripts/optional.gradle'
apply from: 'gradle/scripts/maven.gradle'
buildscript {
repositories {

View file

@ -0,0 +1,28 @@
publishing {
tasks.publish.dependsOn 'build'
publications {
mavenJava(MavenPublication) {
from components.java
artifact devJar
artifact sourceJar
artifact javadocJar
artifact apiJar
}
}
repositories {
if (project.hasProperty('mvnURL')) {
maven {
credentials {
username findProperty("mvnUsername")
password findProperty("mvnPassword")
}
url = findProperty("mvnURL")
}
}
else {
mavenLocal()
}
}
}