Skip to content

Commit

Permalink
add java tool chain resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
lbergelson committed Nov 20, 2023
1 parent fc5d461 commit 50d3766
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
17 changes: 10 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,29 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'application'

import org.apache.tools.ant.filters.ReplaceTokens

mainClassName = 'org.broad.igv.ui.Main'
ext.moduleName = 'org.igv'

buildscript {
repositories {
mavenCentral()
}
}

plugins {
id 'java'
id 'maven-publish'
id 'application'
}

repositories {
mavenCentral()
mavenLocal()
}


mainClassName = 'org.broad.igv.ui.Main'
ext.moduleName = 'org.igv'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
Expand Down
6 changes: 5 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
rootProject.name = 'igv'
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}

rootProject.name = 'igv'

0 comments on commit 50d3766

Please sign in to comment.