Skip to content

Commit

Permalink
Move API to the right directory
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicBlom committed Aug 27, 2016
1 parent fce599a commit 6fc59fa
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,18 @@ processResources
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
}

sourceSets {
api {
java {
srcDirs = [ 'src/api/java' ]
}
}
}

task apiJar(type: Jar) {
from sourceSets.api.output
classifier = 'api'
}
tasks.build.dependsOn apiJar

0 comments on commit 6fc59fa

Please sign in to comment.