Skip to content

Commit

Permalink
prepare and drop lib for buildscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Dec 23, 2024
1 parent e5dc4ba commit 70eef18
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,19 @@ static int getCommitTimestampMinutes() {

apply plugin: 'java-library'

tasks.named('jar').configure { dependsOn tcBuildId }
group 'org.comroid'
version '2.2.' + getCommitTimestampMinutes()

configurations.compileClasspath.resolutionStrategy.activateDependencyLocking()

compileJava.finalizedBy jar, tasks.register('copyJapiToBuildSrc', Copy) {
group 'build setup'
dependsOn jar
from tasks.named('jar').get().outputs.files.singleFile
into "$rootProject.projectDir/gradle/build"
rename { 'japi.jar' }
}.get()

repositories {
mavenLocal()
mavenCentral()
Expand Down

0 comments on commit 70eef18

Please sign in to comment.